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.00099/0.00099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001003/0.001003, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 282.5 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8683/0.8683, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 97.41 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 86.97 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3716/0.5007, allocations: 159.1 MB / 0.8349 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.5045, allocations: 4.557 MB / 0.8394 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.5047, allocations: 9.188 kB / 0.8394 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.5051, allocations: 97.17 kB / 0.8395 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.5057, allocations: 316.1 kB / 0.8398 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.5062, allocations: 241.1 kB / 0.84 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.5068, allocations: 0.794 MB / 0.8408 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.507, allocations: 164.5 kB / 0.8409 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000711/0.5077, allocations: 428.2 kB / 0.8413 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.508, allocations: 203.9 kB / 0.8415 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.508, allocations: 11.69 kB / 0.8415 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.5081, allocations: 73.89 kB / 0.8416 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.5082, allocations: 82.22 kB / 0.8417 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.5084, allocations: 114.6 kB / 0.8418 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.5086, allocations: 290.1 kB / 0.8421 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5086, allocations: 1.688 kB / 0.8421 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5087, allocations: 0 / 0.8421 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5087, allocations: 0 / 0.8421 GB, free: 15.11 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.0006795/0.5093, allocations: 0.5276 MB / 0.8426 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5094, allocations: 9.031 kB / 0.8426 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.5094, allocations: 62.3 kB / 0.8427 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.5095, allocations: 28.44 kB / 0.8427 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.5098, allocations: 274.1 kB / 0.8429 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5098, allocations: 18.91 kB / 0.843 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5098, allocations: 19.44 kB / 0.843 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.5102, allocations: 268.7 kB / 0.8432 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5102, allocations: 0 / 0.8432 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.5103, allocations: 13.56 kB / 0.8432 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5103, allocations: 9.484 kB / 0.8433 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.5106, allocations: 149.5 kB / 0.8434 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.5116, allocations: 1.366 MB / 0.8447 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.5119, allocations: 180.7 kB / 0.8449 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.5121, allocations: 91.48 kB / 0.845 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.5124, allocations: 124.4 kB / 0.8451 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5124, allocations: 41.25 kB / 0.8452 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.5124, allocations: 0 / 0.8452 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005465/0.513, allocations: 207.7 kB / 0.8454 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.5131, allocations: 185.4 kB / 0.8455 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5133, allocations: 289 kB / 0.8458 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5133, allocations: 31.98 kB / 0.8458 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.5134, allocations: 143.9 kB / 0.846 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.5135, allocations: 39.36 kB / 0.846 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.5135, allocations: 38.64 kB / 0.846 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5136, allocations: 337.5 kB / 0.8464 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.5138, allocations: 40.5 kB / 0.8464 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.5139, allocations: 133.8 kB / 0.8465 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.5142, allocations: 152.8 kB / 0.8467 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5142, allocations: 0 / 0.8467 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003378/0.5146, allocations: 190.2 kB / 0.8469 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5146, allocations: 8.906 kB / 0.8469 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5146, allocations: 2.875 kB / 0.8469 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5146, allocations: 7.062 kB / 0.8469 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.5147, allocations: 31.23 kB / 0.8469 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5147, allocations: 3.625 kB / 0.8469 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5149, allocations: 26.95 kB / 0.8469 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.5149, allocations: 9.891 kB / 0.8469 GB, free: 11.01 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.0001102/0.515, allocations: 147.4 kB / 0.8471 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5152, allocations: 28.16 kB / 0.8471 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.5155, allocations: 129.3 kB / 0.8472 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5155, allocations: 6.344 kB / 0.8472 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5155, allocations: 2.875 kB / 0.8472 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5155, allocations: 5.422 kB / 0.8473 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.5162, allocations: 0.7731 MB / 0.848 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5162, allocations: 1.375 kB / 0.848 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5163, allocations: 21.64 kB / 0.848 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5163, allocations: 6.594 kB / 0.848 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5164, allocations: 6.281 kB / 0.848 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.5164, allocations: 11.2 kB / 0.8481 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5164, allocations: 1.594 kB / 0.8481 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.5168, allocations: 337.5 kB / 0.8484 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.5169, allocations: 114.8 kB / 0.8485 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.517, allocations: 4 kB / 0.8485 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5171, allocations: 9.078 kB / 0.8485 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5171, allocations: 12.47 kB / 0.8485 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5172, allocations: 4.781 kB / 0.8485 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001598/0.5173, allocations: 213.2 kB / 0.8487 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5173, allocations: 0 / 0.8487 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002928/0.5176, allocations: 59.06 kB / 0.8488 GB, free: 9.422 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.0007846/0.5184, allocations: 0.9073 MB / 0.8497 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.5187, allocations: 126.2 kB / 0.8498 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5187, allocations: 192 / 0.8498 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.5189, allocations: 57.06 kB / 0.8498 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.5195, allocations: 134.2 kB / 0.85 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.5221, allocations: 2.663 MB / 0.8526 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5223, allocations: 0.7609 MB / 0.8533 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.5225, allocations: 56.31 kB / 0.8534 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.5225, allocations: 68.44 kB / 0.8534 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5226, allocations: 0 / 0.8534 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.724/3.247, allocations: 6.488 MB / 0.8598 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/3.247, allocations: 260 kB / 0.86 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/5.138, allocations: 0 / 0.86 GB, free: 2.156 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)