Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.903/0.903, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.56 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4002/0.5306, allocations: 169.4 MB / 0.7499 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007631/0.5383, allocations: 7.137 MB / 0.7569 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.5388, allocations: 11.31 kB / 0.7569 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.5393, allocations: 170.1 kB / 0.7571 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.5423, allocations: 1.265 MB / 0.7583 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.5438, allocations: 0.6273 MB / 0.7589 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007726/0.5446, allocations: 0.7582 MB / 0.7596 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.545, allocations: 290.8 kB / 0.7599 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.5461, allocations: 0.5681 MB / 0.7605 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007539/0.5469, allocations: 426.5 kB / 0.7609 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.5469, allocations: 24 kB / 0.7609 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.549, allocations: 1.243 MB / 0.7621 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.5492, allocations: 115.7 kB / 0.7622 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.5494, allocations: 179.1 kB / 0.7624 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.5509, allocations: 0.9039 MB / 0.7633 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5509, allocations: 0 / 0.7633 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5509, allocations: 0 / 0.7633 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5509, allocations: 0 / 0.7633 GB, free: 5.789 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009632/0.5519, allocations: 0.6935 MB / 0.764 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.552, allocations: 8.031 kB / 0.764 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.552, allocations: 66.47 kB / 0.764 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.553, allocations: 137.3 kB / 0.7642 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.5534, allocations: 321.2 kB / 0.7645 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.5535, allocations: 50.27 kB / 0.7645 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.5536, allocations: 28 kB / 0.7645 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.5542, allocations: 370.1 kB / 0.7649 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5542, allocations: 11.91 kB / 0.7649 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.5543, allocations: 16 kB / 0.7649 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.5543, allocations: 7.938 kB / 0.7649 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.5548, allocations: 270 kB / 0.7652 GB, free: 3.719 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.5565, allocations: 1.496 MB / 0.7666 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.5569, allocations: 198.6 kB / 0.7668 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.5571, allocations: 112.8 kB / 0.7669 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009984/0.5581, allocations: 0.5092 MB / 0.7674 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5581, allocations: 38.5 kB / 0.7675 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.5582, allocations: 0 / 0.7675 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009462/0.5591, allocations: 358.4 kB / 0.7678 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.5591, allocations: 55.41 kB / 0.7679 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.5594, allocations: 312.5 kB / 0.7682 GB, free: 404 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.5595, allocations: 29.7 kB / 0.7682 GB, free: 368 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5596, allocations: 188 kB / 0.7684 GB, free: 176 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.5596, allocations: 43.36 kB / 0.7684 GB, free: 132 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.5597, allocations: 49.61 kB / 0.7685 GB, free: 76 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5599, allocations: 342.7 kB / 0.7688 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.5601, allocations: 87.94 kB / 0.7689 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.5603, allocations: 145.9 kB / 0.769 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.5607, allocations: 241 kB / 0.7692 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5608, allocations: 0 / 0.7692 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005719/0.5613, allocations: 289.1 kB / 0.7695 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5614, allocations: 6.5 kB / 0.7695 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5614, allocations: 3.938 kB / 0.7695 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5614, allocations: 4 kB / 0.7695 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.5616, allocations: 43.97 kB / 0.7696 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5617, allocations: 7.938 kB / 0.7696 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.5619, allocations: 31.86 kB / 0.7696 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.5619, allocations: 12 kB / 0.7696 GB, free: 14.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.5621, allocations: 151.1 kB / 0.7698 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5622, allocations: 35.61 kB / 0.7698 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.5629, allocations: 316.6 kB / 0.7701 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5629, allocations: 8 kB / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5629, allocations: 0 / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5629, allocations: 0 / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5641, allocations: 0.8082 MB / 0.7709 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5642, allocations: 4 kB / 0.7709 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.5643, allocations: 27.98 kB / 0.7709 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.5644, allocations: 7.938 kB / 0.7709 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.5644, allocations: 11.98 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5644, allocations: 4 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5644, allocations: 3.938 kB / 0.771 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.565, allocations: 405.2 kB / 0.7713 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.5651, allocations: 131.8 kB / 0.7715 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.5652, allocations: 11.98 kB / 0.7715 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.5654, allocations: 11.98 kB / 0.7715 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.5655, allocations: 15.98 kB / 0.7715 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5655, allocations: 8 kB / 0.7715 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001967/0.5657, allocations: 231 kB / 0.7717 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5657, allocations: 0 / 0.7717 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004856/0.5662, allocations: 119.8 kB / 0.7719 GB, free: 12.42 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.5675, allocations: 1.067 MB / 0.7729 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.5679, allocations: 227.7 kB / 0.7731 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.568, allocations: 0 / 0.7731 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.5682, allocations: 119.7 kB / 0.7732 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.5691, allocations: 164.6 kB / 0.7734 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.5727, allocations: 3.05 MB / 0.7764 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5731, allocations: 0.7911 MB / 0.7771 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.5734, allocations: 87.73 kB / 0.7772 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.5735, allocations: 99.41 kB / 0.7773 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5735, allocations: 0 / 0.7773 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4332/1.007, allocations: 10.41 MB / 0.7875 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.94/9.947, allocations: 3.984 kB / 0.7875 GB, free: 12.39 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)