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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 174.4 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9539, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009518, allocations: 107.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.748e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4872, allocations: 82.31 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.472, allocations: 1.829 GB / 2.463 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/5.472, allocations: 79.95 kB / 2.463 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9076/6.38, allocations: 221.6 MB / 2.68 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/6.38, allocations: 3 kB / 2.68 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.324e-05/6.38, allocations: 5.906 kB / 2.68 GB, free: 194.4 MB / 0.6823 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.001322/6.381, allocations: 0.6121 MB / 2.68 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/6.381, allocations: 12.59 kB / 2.68 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007212/6.382, allocations: 75.77 kB / 2.68 GB, free: 194 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/6.383, allocations: 297.6 kB / 2.681 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/6.383, allocations: 6 kB / 2.681 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/6.383, allocations: 14.31 kB / 2.681 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003742/6.383, allocations: 149.1 kB / 2.681 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/6.384, allocations: 235.5 kB / 2.681 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/6.384, allocations: 4.344 kB / 2.681 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/6.384, allocations: 1.844 kB / 2.681 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/6.384, allocations: 11.58 kB / 2.681 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/6.385, allocations: 1.435 MB / 2.682 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/6.386, allocations: 146.4 kB / 2.683 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/6.386, allocations: 67.77 kB / 2.683 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/6.386, allocations: 113.6 kB / 2.683 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/6.386, allocations: 39.62 kB / 2.683 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/6.386, allocations: 3.844 kB / 2.683 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004436/6.387, allocations: 138 kB / 2.683 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/6.387, allocations: 156.9 kB / 2.683 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/6.387, allocations: 210.7 kB / 2.683 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/6.387, allocations: 25.7 kB / 2.683 GB, free: 192 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/6.387, allocations: 164.9 kB / 2.683 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/6.387, allocations: 35.66 kB / 2.683 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/6.387, allocations: 0 / 2.683 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/6.387, allocations: 332.3 kB / 2.684 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/6.387, allocations: 47.75 kB / 2.684 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/6.387, allocations: 132.8 kB / 2.684 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/6.387, allocations: 95.73 kB / 2.684 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/6.387, allocations: 1.875 kB / 2.684 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004522/6.388, allocations: 210 kB / 2.684 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/6.388, allocations: 10.89 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/6.388, allocations: 3.688 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/6.388, allocations: 6.953 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/6.388, allocations: 41.92 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/6.388, allocations: 7.094 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/6.388, allocations: 29.06 kB / 2.684 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/6.388, allocations: 8.969 kB / 2.684 GB, free: 191.4 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/6.389, allocations: 107.1 kB / 2.684 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003454/6.389, allocations: 140.1 kB / 2.685 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/6.389, allocations: 21.7 kB / 2.685 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/6.389, allocations: 115.3 kB / 2.685 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/6.389, allocations: 0 / 2.685 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/6.389, allocations: 6.125 kB / 2.685 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/6.389, allocations: 3.844 kB / 2.685 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/6.39, allocations: 0.7974 MB / 2.685 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.39, allocations: 0 / 2.685 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/6.39, allocations: 24.56 kB / 2.686 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/6.39, allocations: 2.219 kB / 2.686 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/6.39, allocations: 3.156 kB / 2.686 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/6.39, allocations: 14.89 kB / 2.686 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/6.39, allocations: 3.688 kB / 2.686 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/6.391, allocations: 358.8 kB / 2.686 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/6.391, allocations: 113.5 kB / 2.686 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/6.391, allocations: 2.562 kB / 2.686 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/6.391, allocations: 14.52 kB / 2.686 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/6.391, allocations: 15.38 kB / 2.686 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/6.391, allocations: 4.25 kB / 2.686 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001397/6.391, allocations: 169.8 kB / 2.686 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/6.391, allocations: 0 / 2.686 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007689/6.392, allocations: 166.1 kB / 2.686 GB, free: 190.2 MB / 0.6823 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 () * 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 (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.002429/6.394, allocations: 2.293 MB / 2.689 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002494/6.395, allocations: 116.7 kB / 2.689 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/6.395, allocations: 5.031 kB / 2.689 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/6.395, allocations: 39.09 kB / 2.689 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/6.395, allocations: 57.56 kB / 2.689 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/6.396, allocations: 436.5 kB / 2.689 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/6.397, allocations: 0.765 MB / 2.69 GB, free: 188 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001767/6.397, allocations: 45.14 kB / 2.69 GB, free: 188 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/6.397, allocations: 72.2 kB / 2.69 GB, free: 188 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/6.397, allocations: 0 / 2.69 GB, free: 188 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/6.435, allocations: 13.18 MB / 2.703 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/6.435, allocations: 153.3 kB / 2.703 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/8.595, allocations: 3.5 kB / 2.703 GB, free: 187.6 MB / 0.6823 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/linux/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)