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.0008856/0.0008857, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006566/0.006566, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7032/0.7032, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3556, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1579/0.5136, allocations: 165 MB / 0.7449 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007215/0.5208, allocations: 7.11 MB / 0.7518 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.5212, allocations: 7.938 kB / 0.7518 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.5215, allocations: 135.1 kB / 0.752 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.5238, allocations: 1.191 MB / 0.7531 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.525, allocations: 0.5745 MB / 0.7537 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008307/0.5258, allocations: 1.056 MB / 0.7547 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.5261, allocations: 246 kB / 0.755 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008219/0.527, allocations: 0.5215 MB / 0.7555 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.5276, allocations: 418.5 kB / 0.7559 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.5276, allocations: 16 kB / 0.7559 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.5293, allocations: 1.465 MB / 0.7573 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.5294, allocations: 107.7 kB / 0.7574 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.5296, allocations: 188.8 kB / 0.7576 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.5306, allocations: 0.9697 MB / 0.7585 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5306, allocations: 4 kB / 0.7586 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5306, allocations: 0 / 0.7586 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5306, allocations: 4 kB / 0.7586 GB, free: 12.8 MB / 0.5919 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.0007717/0.5314, allocations: 0.6273 MB / 0.7592 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5314, allocations: 8.031 kB / 0.7592 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.5315, allocations: 66.53 kB / 0.7592 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.5324, allocations: 131.3 kB / 0.7594 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5327, allocations: 329.1 kB / 0.7597 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.5328, allocations: 58.27 kB / 0.7597 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.5329, allocations: 24 kB / 0.7598 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.5334, allocations: 378.1 kB / 0.7601 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.5335, allocations: 0 / 0.7601 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.5335, allocations: 15.94 kB / 0.7601 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5335, allocations: 7.938 kB / 0.7601 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.534, allocations: 282 kB / 0.7604 GB, free: 10.79 MB / 0.5919 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.001569/0.5356, allocations: 1.507 MB / 0.7619 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.5359, allocations: 198.6 kB / 0.7621 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.5361, allocations: 120.8 kB / 0.7622 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/0.537, allocations: 0.5209 MB / 0.7627 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.5371, allocations: 30.56 kB / 0.7627 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.5371, allocations: 0 / 0.7627 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008411/0.5379, allocations: 381 kB / 0.7631 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.5379, allocations: 55.41 kB / 0.7631 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.5382, allocations: 316.5 kB / 0.7634 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.5383, allocations: 25.7 kB / 0.7635 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.5384, allocations: 196 kB / 0.7637 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.5384, allocations: 39.36 kB / 0.7637 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.5385, allocations: 33.64 kB / 0.7637 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5386, allocations: 338.8 kB / 0.764 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.5388, allocations: 91.94 kB / 0.7641 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.539, allocations: 153.9 kB / 0.7643 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.5394, allocations: 253.8 kB / 0.7645 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5394, allocations: 0 / 0.7645 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005253/0.5399, allocations: 289 kB / 0.7648 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5399, allocations: 13.7 kB / 0.7648 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.54, allocations: 4 kB / 0.7648 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.54, allocations: 0 / 0.7648 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.5402, allocations: 43.92 kB / 0.7649 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5402, allocations: 0 / 0.7649 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.5404, allocations: 51.66 kB / 0.7649 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.5404, allocations: 15.94 kB / 0.7649 GB, free: 5.824 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.0001313/0.5406, allocations: 151.3 kB / 0.7651 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.5407, allocations: 23.72 kB / 0.7651 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.5413, allocations: 331.3 kB / 0.7654 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5414, allocations: 4 kB / 0.7654 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5414, allocations: 0 / 0.7654 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5414, allocations: 7.922 kB / 0.7654 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5425, allocations: 0.8163 MB / 0.7662 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5425, allocations: 4.031 kB / 0.7662 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.5427, allocations: 39.92 kB / 0.7663 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5427, allocations: 4 kB / 0.7663 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5427, allocations: 8 kB / 0.7663 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5427, allocations: 4 kB / 0.7663 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5427, allocations: 3.984 kB / 0.7663 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.5433, allocations: 425 kB / 0.7667 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5434, allocations: 136.6 kB / 0.7668 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.5434, allocations: 4 kB / 0.7668 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.5437, allocations: 27.97 kB / 0.7668 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5438, allocations: 19.92 kB / 0.7669 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.5438, allocations: 12 kB / 0.7669 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001867/0.544, allocations: 227 kB / 0.7671 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.544, allocations: 3.938 kB / 0.7671 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000402/0.5444, allocations: 127.7 kB / 0.7672 GB, free: 3.336 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.001097/0.5455, allocations: 1.056 MB / 0.7682 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.5459, allocations: 227.7 kB / 0.7685 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.546, allocations: 0 / 0.7685 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5462, allocations: 120.6 kB / 0.7686 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.5471, allocations: 160.6 kB / 0.7687 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.5504, allocations: 3.199 MB / 0.7719 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5507, allocations: 0.7992 MB / 0.7726 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.551, allocations: 78.88 kB / 0.7727 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.5511, allocations: 95.41 kB / 0.7728 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.5511, allocations: 0 / 0.7728 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7617/1.313, allocations: 9.879 MB / 0.7824 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.313, allocations: 230.5 kB / 0.7827 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.863, allocations: 3.938 kB / 0.7827 GB, free: 3.484 MB / 0.6075 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/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)