Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.736/2.736, allocations: 287.5 MB / 302.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 172.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009827/0.0009825, allocations: 93.03 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005343, allocations: 13.19 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2315, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9355/1.167, allocations: 146.5 MB / 1.122 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0082/1.175, allocations: 4.221 MB / 1.126 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/1.176, allocations: 6.031 kB / 1.126 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005208/1.176, allocations: 85.47 kB / 1.126 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/1.177, allocations: 252.4 kB / 1.126 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/1.179, allocations: 234.3 kB / 1.126 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001234/1.18, allocations: 0.6668 MB / 1.127 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/1.18, allocations: 151.3 kB / 1.127 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/1.182, allocations: 360.2 kB / 1.127 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/1.182, allocations: 195 kB / 1.128 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/1.182, allocations: 7.906 kB / 1.128 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.182, allocations: 68.27 kB / 1.128 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/1.183, allocations: 77.14 kB / 1.128 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/1.183, allocations: 72.92 kB / 1.128 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/1.183, allocations: 209.1 kB / 1.128 GB, free: 492 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.183, allocations: 0 / 1.128 GB, free: 492 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/1.183, allocations: 0 / 1.128 GB, free: 492 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.465e-05/1.183, allocations: 0 / 1.128 GB, free: 492 kB / 0.6823 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.001002/1.184, allocations: 0.4998 MB / 1.128 GB, free: 16.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.184, allocations: 12.75 kB / 1.128 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/1.184, allocations: 48.58 kB / 1.128 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/1.184, allocations: 29.45 kB / 1.129 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/1.185, allocations: 269.7 kB / 1.129 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.185, allocations: 14.69 kB / 1.129 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/1.185, allocations: 20.06 kB / 1.129 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/1.186, allocations: 268.5 kB / 1.129 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.186, allocations: 3.938 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/1.186, allocations: 11.16 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.186, allocations: 9.062 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/1.186, allocations: 158.7 kB / 1.129 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/1.188, allocations: 1.372 MB / 1.131 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/1.188, allocations: 185.5 kB / 1.131 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/1.189, allocations: 110 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/1.189, allocations: 130.1 kB / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.189, allocations: 36.41 kB / 1.131 GB, free: 14.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.096e-06/1.189, allocations: 0 / 1.131 GB, free: 14.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0009177/1.19, allocations: 222.3 kB / 1.131 GB, free: 14.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.19, allocations: 184.1 kB / 1.131 GB, free: 13.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/1.191, allocations: 292.3 kB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/1.191, allocations: 33.39 kB / 1.132 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.191, allocations: 150.1 kB / 1.132 GB, free: 13.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/1.191, allocations: 35.27 kB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/1.191, allocations: 6.781 kB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.191, allocations: 338.2 kB / 1.132 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.191, allocations: 47.53 kB / 1.132 GB, free: 13.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.192, allocations: 120 kB / 1.132 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.192, allocations: 68.02 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.192, allocations: 0 / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006148/1.193, allocations: 208.2 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.193, allocations: 6.156 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.193, allocations: 2.781 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.193, allocations: 3.531 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/1.193, allocations: 34.05 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.193, allocations: 9.406 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/1.193, allocations: 31.59 kB / 1.133 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.193, allocations: 6.375 kB / 1.133 GB, free: 13.16 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/1.194, allocations: 150.1 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.194, allocations: 29.02 kB / 1.133 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/1.194, allocations: 140.5 kB / 1.133 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.194, allocations: 4.422 kB / 1.133 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.194, allocations: 1.812 kB / 1.133 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.194, allocations: 2.781 kB / 1.133 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.196, allocations: 0.7829 MB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.196, allocations: 1.031 kB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/1.196, allocations: 25.06 kB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.196, allocations: 2.938 kB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/1.196, allocations: 2.875 kB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.196, allocations: 7.453 kB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.196, allocations: 5.781 kB / 1.134 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/1.197, allocations: 357.9 kB / 1.134 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/1.197, allocations: 106.9 kB / 1.134 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/1.197, allocations: 4.875 kB / 1.134 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.197, allocations: 17.33 kB / 1.134 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/1.197, allocations: 9.078 kB / 1.134 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.197, allocations: 6.359 kB / 1.134 GB, free: 12.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003082/1.198, allocations: 209.3 kB / 1.135 GB, free: 11.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.198, allocations: 0 / 1.135 GB, free: 11.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004844/1.198, allocations: 50.45 kB / 1.135 GB, free: 11.93 MB / 0.698 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 (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.001398/1.2, allocations: 0.9397 MB / 1.136 GB, free: 11.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005587/1.2, allocations: 128.7 kB / 1.136 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.2, allocations: 0 / 1.136 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/1.2, allocations: 72.39 kB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.202, allocations: 119.7 kB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.205, allocations: 1.481 MB / 1.137 GB, free: 10.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.205, allocations: 0.7574 MB / 1.138 GB, free: 9.789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002936/1.206, allocations: 49.58 kB / 1.138 GB, free: 9.785 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.206, allocations: 70.94 kB / 1.138 GB, free: 9.773 MB / 0.698 GB Notification: Performance of SimCode: time 3.026e-06/1.206, allocations: 0 / 1.138 GB, free: 9.773 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/1.237, allocations: 6.333 MB / 1.144 GB, free: 8.051 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/1.238, allocations: 227.6 kB / 1.145 GB, free: 7.812 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.122, allocations: 0 / 1.145 GB, free: 7.812 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)