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.005065/0.005066, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001204/0.001204, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 286.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.907/0.907, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 100.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1532, allocations: 86.99 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4889/0.6421, allocations: 161.3 MB / 0.9235 GB, free: 1.746 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.6473, allocations: 4.545 MB / 0.9279 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.6477, allocations: 11.94 kB / 0.9279 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.6481, allocations: 119 kB / 0.928 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.649, allocations: 334.4 kB / 0.9284 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.6497, allocations: 285.5 kB / 0.9286 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.6503, allocations: 0.5612 MB / 0.9292 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.6506, allocations: 193.2 kB / 0.9294 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.6515, allocations: 462.2 kB / 0.9298 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.6518, allocations: 191.2 kB / 0.93 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.6519, allocations: 19.94 kB / 0.93 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.652, allocations: 83.86 kB / 0.9301 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.6521, allocations: 83.78 kB / 0.9302 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.6523, allocations: 119.4 kB / 0.9303 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.6526, allocations: 309.8 kB / 0.9306 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6526, allocations: 4 kB / 0.9306 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6526, allocations: 4 kB / 0.9306 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6526, allocations: 0 / 0.9306 GB, free: 10.46 MB / 0.6856 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.0008158/0.6535, allocations: 0.5294 MB / 0.9311 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6535, allocations: 8.031 kB / 0.9311 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.6536, allocations: 54.55 kB / 0.9312 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.6536, allocations: 36.05 kB / 0.9312 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.654, allocations: 291.3 kB / 0.9315 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6541, allocations: 12 kB / 0.9315 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.6541, allocations: 20 kB / 0.9315 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.6545, allocations: 257.9 kB / 0.9318 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6545, allocations: 9.422 kB / 0.9318 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.6546, allocations: 11.94 kB / 0.9318 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.6546, allocations: 4 kB / 0.9318 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.6549, allocations: 155.7 kB / 0.9319 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.6562, allocations: 1.364 MB / 0.9333 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.6565, allocations: 179.7 kB / 0.9334 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.6566, allocations: 97.05 kB / 0.9335 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.657, allocations: 117 kB / 0.9336 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.657, allocations: 50.48 kB / 0.9337 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.657, allocations: 0 / 0.9337 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0005713/0.6576, allocations: 201.8 kB / 0.9339 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.6577, allocations: 187.9 kB / 0.9341 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.658, allocations: 287 kB / 0.9343 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.658, allocations: 33.7 kB / 0.9344 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.6581, allocations: 151.7 kB / 0.9345 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.6582, allocations: 31.55 kB / 0.9345 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6583, allocations: 33.66 kB / 0.9346 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6584, allocations: 338.8 kB / 0.9349 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.6586, allocations: 49.95 kB / 0.9349 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.6588, allocations: 113.1 kB / 0.935 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.659, allocations: 158.7 kB / 0.9352 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6591, allocations: 0 / 0.9352 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003442/0.6594, allocations: 185.2 kB / 0.9354 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6594, allocations: 15.88 kB / 0.9354 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6594, allocations: 3.938 kB / 0.9354 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6595, allocations: 4 kB / 0.9354 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6596, allocations: 31.97 kB / 0.9354 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.6596, allocations: 4.219 kB / 0.9354 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6598, allocations: 35.3 kB / 0.9355 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.6598, allocations: 8 kB / 0.9355 GB, free: 4.996 MB / 0.6856 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.0001212/0.6599, allocations: 145.8 kB / 0.9356 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6601, allocations: 27.66 kB / 0.9356 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.6604, allocations: 130.9 kB / 0.9358 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6604, allocations: 8 kB / 0.9358 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6604, allocations: 3.938 kB / 0.9358 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6604, allocations: 4 kB / 0.9358 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.6612, allocations: 0.7613 MB / 0.9365 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6612, allocations: 8.141 kB / 0.9365 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6614, allocations: 27.92 kB / 0.9366 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6614, allocations: 7.938 kB / 0.9366 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.6614, allocations: 4 kB / 0.9366 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6614, allocations: 4 kB / 0.9366 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6614, allocations: 0 / 0.9366 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.6619, allocations: 339.4 kB / 0.9369 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.662, allocations: 112.8 kB / 0.937 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.6621, allocations: 4 kB / 0.937 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6622, allocations: 7.984 kB / 0.937 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.6623, allocations: 21.92 kB / 0.937 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6623, allocations: 7.938 kB / 0.937 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002016/0.6625, allocations: 209.9 kB / 0.9372 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6625, allocations: 0 / 0.9372 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003207/0.6628, allocations: 59.84 kB / 0.9373 GB, free: 2.984 MB / 0.6856 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.0009414/0.6638, allocations: 0.9096 MB / 0.9382 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.6641, allocations: 119.8 kB / 0.9383 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6641, allocations: 0 / 0.9383 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6643, allocations: 68.58 kB / 0.9384 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.6649, allocations: 131.4 kB / 0.9385 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.668, allocations: 2.603 MB / 0.941 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6683, allocations: 0.748 MB / 0.9418 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.6685, allocations: 54.25 kB / 0.9418 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.6686, allocations: 67.36 kB / 0.9419 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of SimCode: time 3.51e-07/0.6686, allocations: 3.938 kB / 0.9419 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.6943, allocations: 6.987 MB / 0.9487 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/8.039, allocations: 13.41 kB / 0.9487 GB, free: 7.285 MB / 0.7012 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)