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.001431/0.001431, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.81/2.81, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.929/1.929, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007791/0.0007796, allocations: 12 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3524, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 1.127/1.48, allocations: 141.8 MB / 0.7258 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01617/1.496, allocations: 5.277 MB / 0.7309 GB, free: 3.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.498, allocations: 10.16 kB / 0.7309 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/1.499, allocations: 188.6 kB / 0.7311 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005724/1.505, allocations: 0.7055 MB / 0.7318 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/1.509, allocations: 0.5026 MB / 0.7323 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002062/1.511, allocations: 457.5 kB / 0.7327 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/1.512, allocations: 231.2 kB / 0.7329 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/1.515, allocations: 0.4937 MB / 0.7334 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.517, allocations: 326.9 kB / 0.7337 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/1.517, allocations: 19.19 kB / 0.7337 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/1.521, allocations: 0.5574 MB / 0.7343 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/1.522, allocations: 101.1 kB / 0.7344 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003843/1.522, allocations: 82.83 kB / 0.7345 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/1.524, allocations: 470 kB / 0.7349 GB, free: 2.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.524, allocations: 0 / 0.7349 GB, free: 2.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.442e-06/1.524, allocations: 0.75 kB / 0.7349 GB, free: 2.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.045e-05/1.524, allocations: 0 / 0.7349 GB, free: 2.059 MB / 0.545 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.002504/1.527, allocations: 0.6162 MB / 0.7355 GB, free: 1.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.674e-05/1.527, allocations: 10.41 kB / 0.7355 GB, free: 1.547 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/1.527, allocations: 67.28 kB / 0.7356 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/1.53, allocations: 130.8 kB / 0.7357 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.531, allocations: 309.1 kB / 0.736 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.531, allocations: 47.48 kB / 0.7361 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.531, allocations: 26.09 kB / 0.7361 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/1.533, allocations: 377.4 kB / 0.7364 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.533, allocations: 0 / 0.7364 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/1.533, allocations: 14.89 kB / 0.7365 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/1.533, allocations: 10.23 kB / 0.7365 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.534, allocations: 284.5 kB / 0.7367 GB, free: 0.8711 MB / 0.545 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.004268/1.538, allocations: 1.48 MB / 0.7382 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/1.539, allocations: 178.2 kB / 0.7383 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008718/1.54, allocations: 139.4 kB / 0.7385 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.54, allocations: 38.38 kB / 0.7385 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 6.613e-06/1.54, allocations: 0 / 0.7385 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.002176/1.542, allocations: 384.4 kB / 0.7389 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/1.542, allocations: 55.41 kB / 0.7389 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/1.543, allocations: 311.6 kB / 0.7392 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/1.543, allocations: 28.39 kB / 0.7393 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.544, allocations: 187.3 kB / 0.7394 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.544, allocations: 54.75 kB / 0.7395 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/1.544, allocations: 0 / 0.7395 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002709/1.544, allocations: 346.2 kB / 0.7398 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.544, allocations: 101.2 kB / 0.7399 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/1.545, allocations: 160.2 kB / 0.7401 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/1.545, allocations: 111.2 kB / 0.7402 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.545, allocations: 2.844 kB / 0.7402 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001272/1.547, allocations: 301.6 kB / 0.7405 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.547, allocations: 11.41 kB / 0.7405 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.547, allocations: 3.312 kB / 0.7405 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.547, allocations: 2.406 kB / 0.7405 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/1.547, allocations: 48 kB / 0.7405 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.547, allocations: 7.672 kB / 0.7405 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/1.548, allocations: 39.23 kB / 0.7406 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/1.548, allocations: 19.17 kB / 0.7406 GB, free: 14.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003538/1.548, allocations: 155.5 kB / 0.7407 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.549, allocations: 28.38 kB / 0.7408 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/1.55, allocations: 327 kB / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.55, allocations: 3.219 kB / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.55, allocations: 0 / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.55, allocations: 4.734 kB / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/1.553, allocations: 0.8214 MB / 0.7419 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.553, allocations: 4.219 kB / 0.7419 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/1.553, allocations: 34.61 kB / 0.7419 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.553, allocations: 4 kB / 0.7419 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/1.553, allocations: 14.14 kB / 0.7419 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/1.553, allocations: 7.953 kB / 0.742 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.553, allocations: 0 / 0.742 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/1.554, allocations: 499.2 kB / 0.7424 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/1.555, allocations: 131.9 kB / 0.7426 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.555, allocations: 7.953 kB / 0.7426 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/1.556, allocations: 29.48 kB / 0.7426 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.556, allocations: 13.72 kB / 0.7426 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/1.556, allocations: 12 kB / 0.7426 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005031/1.556, allocations: 227.2 kB / 0.7428 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.556, allocations: 0 / 0.7428 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001225/1.558, allocations: 118 kB / 0.7429 GB, free: 12.12 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003306/1.561, allocations: 1.63 MB / 0.7445 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.562, allocations: 235.1 kB / 0.7448 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.562, allocations: 0 / 0.7448 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/1.562, allocations: 122.7 kB / 0.7449 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.564, allocations: 145.2 kB / 0.745 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/1.569, allocations: 2.238 MB / 0.7472 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/1.57, allocations: 0.7929 MB / 0.748 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007955/1.571, allocations: 92.17 kB / 0.7481 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.572, allocations: 102.9 kB / 0.7482 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/1.572, allocations: 0 / 0.7482 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/1.641, allocations: 9.737 MB / 0.7577 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003874/1.642, allocations: 211.6 kB / 0.7579 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/5.225, allocations: 4 kB / 0.7579 GB, free: 13.3 MB / 0.5762 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/linux/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) Environment - environmentSimulation: