Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.004884/0.004884, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001279/0.001279, allocations: 193 kB / 16.68 MB, free: 5.934 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8187/0.8187, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 66.11 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1457, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4862/0.632, allocations: 161.3 MB / 0.8224 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005474/0.6375, allocations: 4.552 MB / 0.8269 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.6378, allocations: 11.88 kB / 0.8269 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.6383, allocations: 128.3 kB / 0.827 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000765/0.639, allocations: 330.4 kB / 0.8273 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.6398, allocations: 278.9 kB / 0.8276 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.6404, allocations: 0.5601 MB / 0.8281 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.6407, allocations: 205.5 kB / 0.8283 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.6416, allocations: 454.8 kB / 0.8288 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.6419, allocations: 187.8 kB / 0.829 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.642, allocations: 15.25 kB / 0.829 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.6421, allocations: 84.02 kB / 0.8291 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.6422, allocations: 89.61 kB / 0.8291 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.6424, allocations: 118.5 kB / 0.8293 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.6428, allocations: 298.6 kB / 0.8295 GB, free: 15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6428, allocations: 7.938 kB / 0.8295 GB, free: 15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6428, allocations: 0 / 0.8295 GB, free: 15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6428, allocations: 2.906 kB / 0.8295 GB, free: 15 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008258/0.6436, allocations: 0.5471 MB / 0.8301 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6437, allocations: 11.45 kB / 0.8301 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.6437, allocations: 47.61 kB / 0.8301 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.6438, allocations: 26.95 kB / 0.8302 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.6442, allocations: 289.1 kB / 0.8304 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.6442, allocations: 14.84 kB / 0.8305 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.6443, allocations: 16.69 kB / 0.8305 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.6447, allocations: 265.4 kB / 0.8307 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6447, allocations: 2.75 kB / 0.8307 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.6447, allocations: 10.19 kB / 0.8307 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.6448, allocations: 4.5 kB / 0.8307 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.6451, allocations: 147.9 kB / 0.8309 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.6464, allocations: 1.374 MB / 0.8322 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.6467, allocations: 176.2 kB / 0.8324 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.6469, allocations: 108.2 kB / 0.8325 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.6472, allocations: 115.3 kB / 0.8326 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.6473, allocations: 45.5 kB / 0.8326 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6473, allocations: 0 / 0.8326 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005918/0.6479, allocations: 209 kB / 0.8328 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.648, allocations: 191.9 kB / 0.833 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.6483, allocations: 285.5 kB / 0.8333 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6483, allocations: 32.64 kB / 0.8333 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6484, allocations: 144.7 kB / 0.8335 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6485, allocations: 32.02 kB / 0.8335 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.6485, allocations: 42.44 kB / 0.8335 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6487, allocations: 332.2 kB / 0.8339 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.6488, allocations: 53.09 kB / 0.8339 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.649, allocations: 118.7 kB / 0.834 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.6493, allocations: 153.5 kB / 0.8342 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6493, allocations: 4 kB / 0.8342 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003541/0.6497, allocations: 195.4 kB / 0.8344 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6497, allocations: 9.312 kB / 0.8344 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6497, allocations: 0 / 0.8344 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6498, allocations: 5.188 kB / 0.8344 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6499, allocations: 26.55 kB / 0.8344 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6499, allocations: 14.64 kB / 0.8344 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.6501, allocations: 25.91 kB / 0.8344 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.6501, allocations: 11.61 kB / 0.8344 GB, free: 10.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001828/0.6503, allocations: 143.4 kB / 0.8346 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6504, allocations: 28.45 kB / 0.8346 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.6507, allocations: 131.2 kB / 0.8347 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6507, allocations: 10.38 kB / 0.8347 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6507, allocations: 0 / 0.8347 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6508, allocations: 6.516 kB / 0.8348 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.6516, allocations: 0.7629 MB / 0.8355 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6516, allocations: 6.906 kB / 0.8355 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6517, allocations: 28.98 kB / 0.8355 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6517, allocations: 2.719 kB / 0.8355 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.6518, allocations: 2.688 kB / 0.8355 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6518, allocations: 6.391 kB / 0.8355 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6518, allocations: 0 / 0.8355 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.6523, allocations: 341 kB / 0.8359 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.6524, allocations: 115.6 kB / 0.836 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.6524, allocations: 4.531 kB / 0.836 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6526, allocations: 6.922 kB / 0.836 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.6526, allocations: 20.78 kB / 0.836 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.6526, allocations: 5.25 kB / 0.836 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001888/0.6528, allocations: 210 kB / 0.8362 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6528, allocations: 0 / 0.8362 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003175/0.6532, allocations: 58.08 kB / 0.8363 GB, free: 9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0009713/0.6541, allocations: 0.9152 MB / 0.8372 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.6545, allocations: 131.6 kB / 0.8373 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6545, allocations: 0 / 0.8373 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.6546, allocations: 61.47 kB / 0.8373 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.6553, allocations: 130.2 kB / 0.8375 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.6583, allocations: 2.607 MB / 0.84 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.6587, allocations: 0.7578 MB / 0.8408 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.6588, allocations: 52.56 kB / 0.8408 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.6589, allocations: 70.08 kB / 0.8409 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.6589, allocations: 0 / 0.8409 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.058/2.717, allocations: 6.871 MB / 0.8476 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.147/11.86, allocations: 14.02 kB / 0.8476 GB, free: 1.707 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)