Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_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.001436/0.001436, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001477/0.001477, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00228/0.00228, allocations: 282.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 91.3 kB / 0.5948 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4522/0.5948, allocations: 159.1 MB / 0.8351 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.5994, allocations: 4.512 MB / 0.8395 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.5999, allocations: 9.281 kB / 0.8396 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.6004, allocations: 108.7 kB / 0.8397 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007619/0.6012, allocations: 309.3 kB / 0.84 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.6019, allocations: 251.9 kB / 0.8402 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.6025, allocations: 0.5652 MB / 0.8407 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.6028, allocations: 184.1 kB / 0.8409 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/0.6036, allocations: 452.2 kB / 0.8414 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.6039, allocations: 204.6 kB / 0.8415 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.6039, allocations: 20.5 kB / 0.8416 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.6041, allocations: 78.91 kB / 0.8416 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.6042, allocations: 82.38 kB / 0.8417 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.6043, allocations: 123.5 kB / 0.8418 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.6046, allocations: 296 kB / 0.8421 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6046, allocations: 0 / 0.8421 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6046, allocations: 0 / 0.8421 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.6046, allocations: 1.094 kB / 0.8421 GB, free: 15.04 MB / 0.5762 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.0007939/0.6054, allocations: 0.5394 MB / 0.8426 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.6055, allocations: 9.438 kB / 0.8427 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.6055, allocations: 53.17 kB / 0.8427 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.6056, allocations: 29.06 kB / 0.8427 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.606, allocations: 277.9 kB / 0.843 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.606, allocations: 10.69 kB / 0.843 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.606, allocations: 20.44 kB / 0.843 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.6065, allocations: 265.6 kB / 0.8433 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6065, allocations: 7.875 kB / 0.8433 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.6065, allocations: 11.64 kB / 0.8433 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6065, allocations: 5.5 kB / 0.8433 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.6069, allocations: 151.3 kB / 0.8435 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.608, allocations: 1.364 MB / 0.8448 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.6083, allocations: 183.4 kB / 0.845 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.6085, allocations: 93.03 kB / 0.845 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.6088, allocations: 126 kB / 0.8452 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.6089, allocations: 43.2 kB / 0.8452 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6089, allocations: 0 / 0.8452 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005827/0.6095, allocations: 208.1 kB / 0.8454 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.6095, allocations: 188.6 kB / 0.8456 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.6098, allocations: 291.6 kB / 0.8459 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6098, allocations: 27.73 kB / 0.8459 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.6099, allocations: 150.4 kB / 0.846 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.61, allocations: 41.19 kB / 0.8461 GB, free: 12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.6101, allocations: 34.22 kB / 0.8461 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6102, allocations: 332 kB / 0.8464 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.6103, allocations: 46.2 kB / 0.8465 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6105, allocations: 120.7 kB / 0.8466 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.6108, allocations: 157.1 kB / 0.8467 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6108, allocations: 1.688 kB / 0.8467 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003563/0.6111, allocations: 195.1 kB / 0.8469 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6112, allocations: 9.969 kB / 0.8469 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6112, allocations: 1.219 kB / 0.8469 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6112, allocations: 2.688 kB / 0.8469 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.6113, allocations: 30.38 kB / 0.847 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6114, allocations: 6.156 kB / 0.847 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.6115, allocations: 23.36 kB / 0.847 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.6116, allocations: 11.25 kB / 0.847 GB, free: 11.33 MB / 0.5762 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.0001209/0.6117, allocations: 146.8 kB / 0.8471 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.6118, allocations: 29 kB / 0.8472 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.6121, allocations: 132.8 kB / 0.8473 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6121, allocations: 2.688 kB / 0.8473 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6122, allocations: 6.438 kB / 0.8473 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6122, allocations: 4.812 kB / 0.8473 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.6129, allocations: 0.7765 MB / 0.8481 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6129, allocations: 1.344 kB / 0.8481 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.6131, allocations: 24.8 kB / 0.8481 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6131, allocations: 3.125 kB / 0.8481 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6131, allocations: 1.656 kB / 0.8481 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6131, allocations: 5.875 kB / 0.8481 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6131, allocations: 5.062 kB / 0.8481 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.6136, allocations: 339.7 kB / 0.8484 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.6137, allocations: 109.6 kB / 0.8485 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.6137, allocations: 6.609 kB / 0.8485 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6139, allocations: 9.531 kB / 0.8486 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.6139, allocations: 17.14 kB / 0.8486 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.6139, allocations: 2.688 kB / 0.8486 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001702/0.6141, allocations: 214 kB / 0.8488 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6141, allocations: 0 / 0.8488 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003301/0.6145, allocations: 56.47 kB / 0.8488 GB, free: 9.738 MB / 0.5762 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.0009003/0.6154, allocations: 0.9049 MB / 0.8497 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.6157, allocations: 135.8 kB / 0.8498 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6157, allocations: 0 / 0.8498 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.6159, allocations: 57.09 kB / 0.8499 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.6166, allocations: 143.9 kB / 0.85 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.6194, allocations: 2.661 MB / 0.8526 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6197, allocations: 0.7565 MB / 0.8534 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.6198, allocations: 51.38 kB / 0.8534 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.6199, allocations: 72.59 kB / 0.8535 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.6199, allocations: 0 / 0.8535 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2858/0.9057, allocations: 6.656 MB / 0.86 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.906, allocations: 253 kB / 0.8602 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.697, allocations: 0 / 0.8602 GB, free: 2.402 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)