Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.001083/0.001083, allocations: 98.03 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.008086/0.008086, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.833/0.833, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 13.52 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 82.32 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3719/0.5056, allocations: 158.9 MB / 0.7432 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.5103, allocations: 4.565 MB / 0.7477 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.5104, allocations: 9.438 kB / 0.7477 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.5108, allocations: 98.22 kB / 0.7478 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.5118, allocations: 0.5116 MB / 0.7483 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.5131, allocations: 0.7156 MB / 0.749 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006364/0.5137, allocations: 0.8054 MB / 0.7498 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.514, allocations: 177.7 kB / 0.7499 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.5147, allocations: 421.7 kB / 0.7503 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.5152, allocations: 284 kB / 0.7506 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.5152, allocations: 15.31 kB / 0.7506 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.5165, allocations: 1.169 MB / 0.7518 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.5166, allocations: 75.69 kB / 0.7518 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.5167, allocations: 147.1 kB / 0.752 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.5175, allocations: 0.765 MB / 0.7527 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5175, allocations: 2.812 kB / 0.7527 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5175, allocations: 0 / 0.7527 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.5175, allocations: 0 / 0.7527 GB, free: 2.48 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006712/0.5182, allocations: 0.5529 MB / 0.7533 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.5182, allocations: 9.344 kB / 0.7533 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.5182, allocations: 55.86 kB / 0.7533 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.5188, allocations: 72.33 kB / 0.7534 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.5191, allocations: 286.5 kB / 0.7537 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5191, allocations: 14.38 kB / 0.7537 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.5192, allocations: 17.62 kB / 0.7537 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.5196, allocations: 292.8 kB / 0.754 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5196, allocations: 3 kB / 0.754 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.5196, allocations: 11.94 kB / 0.754 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5197, allocations: 10.66 kB / 0.754 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.52, allocations: 213.9 kB / 0.7542 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.5213, allocations: 1.253 MB / 0.7554 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.5216, allocations: 181.2 kB / 0.7556 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.5218, allocations: 115.7 kB / 0.7557 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.5224, allocations: 344.8 kB / 0.7561 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5224, allocations: 37.69 kB / 0.7561 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.5225, allocations: 3.938 kB / 0.7561 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006596/0.5231, allocations: 303.3 kB / 0.7564 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.5232, allocations: 157.8 kB / 0.7565 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5234, allocations: 289.1 kB / 0.7568 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.5234, allocations: 32.83 kB / 0.7568 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.5235, allocations: 148.2 kB / 0.757 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.5236, allocations: 42.14 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5236, allocations: 21.17 kB / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.5237, allocations: 336.1 kB / 0.7574 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5239, allocations: 75.97 kB / 0.7574 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.5241, allocations: 144.4 kB / 0.7576 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.5244, allocations: 228.5 kB / 0.7578 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5244, allocations: 0 / 0.7578 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004563/0.5249, allocations: 256.2 kB / 0.758 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.5249, allocations: 7.984 kB / 0.758 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5249, allocations: 4 kB / 0.758 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5249, allocations: 4 kB / 0.758 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.5251, allocations: 36.23 kB / 0.7581 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5251, allocations: 15.14 kB / 0.7581 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5253, allocations: 39.61 kB / 0.7581 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5253, allocations: 15.56 kB / 0.7582 GB, free: 13.82 MB / 0.5762 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 (18): * Single equations (assignments): 18 * 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.0001144/0.5255, allocations: 141.8 kB / 0.7583 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5256, allocations: 31.72 kB / 0.7583 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.526, allocations: 206 kB / 0.7585 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5261, allocations: 4 kB / 0.7585 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5261, allocations: 0 / 0.7585 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5261, allocations: 3.938 kB / 0.7585 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.5269, allocations: 0.8589 MB / 0.7594 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5269, allocations: 7.938 kB / 0.7594 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.527, allocations: 23.98 kB / 0.7594 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5271, allocations: 4.156 kB / 0.7594 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.5271, allocations: 8 kB / 0.7594 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5271, allocations: 3.938 kB / 0.7594 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5271, allocations: 4 kB / 0.7594 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.5276, allocations: 355.4 kB / 0.7597 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.5277, allocations: 124.7 kB / 0.7599 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.5277, allocations: 8.109 kB / 0.7599 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5279, allocations: 20.78 kB / 0.7599 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.5279, allocations: 11.92 kB / 0.7599 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.5279, allocations: 4 kB / 0.7599 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002034/0.5282, allocations: 237.9 kB / 0.7601 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5282, allocations: 0 / 0.7601 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003654/0.5285, allocations: 91.91 kB / 0.7602 GB, free: 11.55 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.00104/0.5296, allocations: 1.013 MB / 0.7612 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.5299, allocations: 156 kB / 0.7614 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5299, allocations: 0 / 0.7614 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.5301, allocations: 63.89 kB / 0.7614 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.5309, allocations: 138.6 kB / 0.7616 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.5338, allocations: 2.872 MB / 0.7644 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.534, allocations: 0.7638 MB / 0.7651 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.5342, allocations: 58.98 kB / 0.7652 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5343, allocations: 79.41 kB / 0.7652 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5343, allocations: 0 / 0.7652 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.143/2.678, allocations: 8.073 MB / 0.7731 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/2.678, allocations: 231 kB / 0.7733 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/5.447, allocations: 0 / 0.7733 GB, free: 14.11 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)