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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 196 kB / 16.53 MB, free: 6.672 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 295 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 96.25 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1593, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4328/0.5921, allocations: 161.3 MB / 0.8378 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.5964, allocations: 4.55 MB / 0.8423 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.5968, allocations: 10.38 kB / 0.8423 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.5971, allocations: 119.1 kB / 0.8424 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007288/0.5979, allocations: 342.4 kB / 0.8427 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.5987, allocations: 276.8 kB / 0.843 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.5992, allocations: 0.5552 MB / 0.8435 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.5995, allocations: 197.6 kB / 0.8437 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008745/0.6004, allocations: 458.5 kB / 0.8442 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.6006, allocations: 186.9 kB / 0.8443 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.6007, allocations: 16.25 kB / 0.8444 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.6009, allocations: 82.27 kB / 0.8444 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.601, allocations: 83.61 kB / 0.8445 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.6011, allocations: 126.8 kB / 0.8446 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.6014, allocations: 296.1 kB / 0.8449 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6014, allocations: 0 / 0.8449 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6014, allocations: 5.375 kB / 0.8449 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6014, allocations: 0 / 0.8449 GB, free: 15.28 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.0007342/0.6022, allocations: 0.5346 MB / 0.8455 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6022, allocations: 9.625 kB / 0.8455 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.6023, allocations: 53.42 kB / 0.8455 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.6023, allocations: 29.41 kB / 0.8455 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.6027, allocations: 273.5 kB / 0.8458 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.6027, allocations: 16.23 kB / 0.8458 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.6028, allocations: 24.38 kB / 0.8458 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.6032, allocations: 257.7 kB / 0.8461 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6032, allocations: 11.31 kB / 0.8461 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6032, allocations: 13.25 kB / 0.8461 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6032, allocations: 9.438 kB / 0.8461 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.6036, allocations: 151 kB / 0.8463 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.6048, allocations: 1.362 MB / 0.8476 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.6051, allocations: 184.8 kB / 0.8478 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.6053, allocations: 99.58 kB / 0.8479 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.6056, allocations: 117.8 kB / 0.848 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6056, allocations: 45.06 kB / 0.848 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 3.878e-06/0.6057, allocations: 1.312 kB / 0.848 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005944/0.6063, allocations: 202.2 kB / 0.8482 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.6063, allocations: 194.1 kB / 0.8484 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6066, allocations: 291 kB / 0.8487 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.6067, allocations: 25.7 kB / 0.8487 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6068, allocations: 153.2 kB / 0.8488 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.6068, allocations: 31.69 kB / 0.8489 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.6069, allocations: 35.11 kB / 0.8489 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.607, allocations: 336.5 kB / 0.8492 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6071, allocations: 44.31 kB / 0.8493 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.6073, allocations: 118.2 kB / 0.8494 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.6076, allocations: 157.9 kB / 0.8495 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6076, allocations: 1.531 kB / 0.8495 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003673/0.608, allocations: 195.4 kB / 0.8497 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.608, allocations: 11.34 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.608, allocations: 3.984 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6081, allocations: 5.125 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.6082, allocations: 27.45 kB / 0.8498 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6082, allocations: 3.797 kB / 0.8498 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6084, allocations: 30.33 kB / 0.8498 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6084, allocations: 9.438 kB / 0.8498 GB, free: 10.92 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.0001155/0.6085, allocations: 147.7 kB / 0.8499 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6086, allocations: 29.16 kB / 0.85 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.609, allocations: 131.2 kB / 0.8501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.609, allocations: 7.5 kB / 0.8501 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.609, allocations: 0 / 0.8501 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.609, allocations: 5.422 kB / 0.8501 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.6099, allocations: 0.7669 MB / 0.8509 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6099, allocations: 4.094 kB / 0.8509 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.61, allocations: 33.3 kB / 0.8509 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.61, allocations: 1.406 kB / 0.8509 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.61, allocations: 6.844 kB / 0.8509 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.61, allocations: 6.484 kB / 0.8509 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6101, allocations: 2.969 kB / 0.8509 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.6106, allocations: 335.4 kB / 0.8512 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6107, allocations: 111.5 kB / 0.8513 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.6107, allocations: 6.656 kB / 0.8513 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6109, allocations: 5.344 kB / 0.8514 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.6109, allocations: 25.23 kB / 0.8514 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.6109, allocations: 2.688 kB / 0.8514 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001914/0.6111, allocations: 210.6 kB / 0.8516 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6111, allocations: 0 / 0.8516 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003378/0.6115, allocations: 56.42 kB / 0.8516 GB, free: 9.332 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.001056/0.6125, allocations: 0.903 MB / 0.8525 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.6129, allocations: 125.6 kB / 0.8526 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6129, allocations: 0 / 0.8526 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.6131, allocations: 62.41 kB / 0.8527 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.6139, allocations: 138.5 kB / 0.8528 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.6173, allocations: 2.618 MB / 0.8554 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.6177, allocations: 0.7597 MB / 0.8561 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.6179, allocations: 51.17 kB / 0.8562 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/0.618, allocations: 72.77 kB / 0.8562 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.618, allocations: 0 / 0.8562 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.6435, allocations: 6.813 MB / 0.8629 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.601, allocations: 4.625 kB / 0.8629 GB, free: 2.141 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)