Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_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.001394/0.001395, allocations: 99.39 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.001572/0.001572, 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.324/2.324, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.245/1.245, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005226, allocations: 8 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6779, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2896/0.9676, allocations: 141.8 MB / 0.7214 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.9783, allocations: 5.282 MB / 0.7266 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.9791, allocations: 11.94 kB / 0.7266 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009454/0.98, allocations: 187.1 kB / 0.7268 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.9835, allocations: 0.7049 MB / 0.7275 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.9856, allocations: 0.5078 MB / 0.728 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.9871, allocations: 459.8 kB / 0.7284 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.9878, allocations: 229.3 kB / 0.7286 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.9898, allocations: 0.4985 MB / 0.7291 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.9909, allocations: 327 kB / 0.7294 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.991, allocations: 16 kB / 0.7295 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.9929, allocations: 0.5577 MB / 0.73 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.9932, allocations: 99.7 kB / 0.7301 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.9935, allocations: 85.58 kB / 0.7302 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.9952, allocations: 466.9 kB / 0.7306 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.9952, allocations: 0 / 0.7306 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.568e-06/0.9953, allocations: 0 / 0.7306 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.865e-05/0.9953, allocations: 0 / 0.7306 GB, free: 9.062 MB / 0.5606 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.001751/0.9971, allocations: 0.6202 MB / 0.7312 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/0.9972, allocations: 12.03 kB / 0.7312 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.9974, allocations: 58.55 kB / 0.7313 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.9989, allocations: 135.4 kB / 0.7314 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.9998, allocations: 301.4 kB / 0.7317 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1, allocations: 50.25 kB / 0.7318 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1, allocations: 32 kB / 0.7318 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.001, allocations: 370.1 kB / 0.7321 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.001, allocations: 3.953 kB / 0.7321 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/1.001, allocations: 12 kB / 0.7322 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/1.001, allocations: 11.94 kB / 0.7322 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/1.002, allocations: 282 kB / 0.7324 GB, free: 7.082 MB / 0.5606 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.002463/1.005, allocations: 1.488 MB / 0.7339 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/1.005, allocations: 170.4 kB / 0.7341 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/1.006, allocations: 145 kB / 0.7342 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.006, allocations: 34.56 kB / 0.7342 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/1.006, allocations: 0 / 0.7342 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.001216/1.007, allocations: 377.4 kB / 0.7346 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/1.007, allocations: 63.28 kB / 0.7346 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/1.008, allocations: 308.5 kB / 0.7349 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/1.008, allocations: 29.7 kB / 0.735 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.008, allocations: 188 kB / 0.7351 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/1.008, allocations: 47.3 kB / 0.7352 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/1.008, allocations: 8 kB / 0.7352 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.008, allocations: 338.8 kB / 0.7355 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.009, allocations: 95.94 kB / 0.7356 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.009, allocations: 165.2 kB / 0.7358 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/1.009, allocations: 111.9 kB / 0.7359 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.009, allocations: 4 kB / 0.7359 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007418/1.01, allocations: 313.1 kB / 0.7362 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.01, allocations: 4 kB / 0.7362 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.01, allocations: 4 kB / 0.7362 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.01, allocations: 4 kB / 0.7362 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1.01, allocations: 39.97 kB / 0.7362 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.01, allocations: 7.938 kB / 0.7362 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/1.011, allocations: 47.81 kB / 0.7363 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/1.011, allocations: 19.95 kB / 0.7363 GB, free: 2.879 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.0002567/1.011, allocations: 149.8 kB / 0.7364 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/1.011, allocations: 27.66 kB / 0.7365 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/1.012, allocations: 337.8 kB / 0.7368 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.012, allocations: 3.984 kB / 0.7368 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.012, allocations: 0 / 0.7368 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.012, allocations: 7.938 kB / 0.7368 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/1.014, allocations: 0.8123 MB / 0.7376 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/1.014, allocations: 4 kB / 0.7376 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/1.014, allocations: 35.97 kB / 0.7376 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/1.014, allocations: 4 kB / 0.7376 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/1.014, allocations: 11.95 kB / 0.7376 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.014, allocations: 3.938 kB / 0.7377 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.014, allocations: 4 kB / 0.7377 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/1.015, allocations: 497.1 kB / 0.7381 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.015, allocations: 136.6 kB / 0.7383 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/1.015, allocations: 0 / 0.7383 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/1.016, allocations: 32.06 kB / 0.7383 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/1.016, allocations: 15.92 kB / 0.7383 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/1.016, allocations: 19.98 kB / 0.7383 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003631/1.016, allocations: 223 kB / 0.7385 GB, free: 408 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.016, allocations: 0 / 0.7385 GB, free: 408 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007174/1.017, allocations: 111.8 kB / 0.7386 GB, free: 296 kB / 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.002145/1.019, allocations: 1.618 MB / 0.7402 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007159/1.02, allocations: 231.7 kB / 0.7404 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.02, allocations: 4 kB / 0.7405 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.02, allocations: 124.6 kB / 0.7406 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.021, allocations: 154.7 kB / 0.7407 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/1.024, allocations: 2.239 MB / 0.7429 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/1.025, allocations: 0.7914 MB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004617/1.026, allocations: 87.05 kB / 0.7438 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.026, allocations: 103.4 kB / 0.7439 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/1.026, allocations: 0 / 0.7439 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/1.059, allocations: 9.73 MB / 0.7534 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.059, allocations: 214.5 kB / 0.7536 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.27, allocations: 0 / 0.7536 GB, free: 1.012 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: