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.004638/0.004638, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001259/0.001259, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 282.7 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 100.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1647, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5274/0.6921, allocations: 161.4 MB / 0.9235 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007964/0.7001, allocations: 4.546 MB / 0.9279 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.7005, allocations: 7.938 kB / 0.9279 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.701, allocations: 131.1 kB / 0.9281 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.7019, allocations: 330.4 kB / 0.9284 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.7029, allocations: 281.1 kB / 0.9286 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.7039, allocations: 0.5573 MB / 0.9292 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.7044, allocations: 201.2 kB / 0.9294 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.7059, allocations: 458.2 kB / 0.9298 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.7064, allocations: 191.2 kB / 0.93 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.7064, allocations: 16 kB / 0.93 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.7067, allocations: 79.92 kB / 0.9301 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.7069, allocations: 83.8 kB / 0.9302 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.7071, allocations: 123.4 kB / 0.9303 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.7078, allocations: 308.3 kB / 0.9306 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7078, allocations: 0 / 0.9306 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7078, allocations: 0 / 0.9306 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.7078, allocations: 4 kB / 0.9306 GB, free: 10.5 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.001302/0.7091, allocations: 0.5447 MB / 0.9311 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.7092, allocations: 8.031 kB / 0.9311 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.586e-05/0.7093, allocations: 51.3 kB / 0.9312 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.7094, allocations: 31.75 kB / 0.9312 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.71, allocations: 291.5 kB / 0.9315 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.71, allocations: 19.98 kB / 0.9315 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.7101, allocations: 16 kB / 0.9315 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.7107, allocations: 265.8 kB / 0.9318 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7108, allocations: 0 / 0.9318 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.7108, allocations: 15.94 kB / 0.9318 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.7108, allocations: 7.938 kB / 0.9318 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.7113, allocations: 155.4 kB / 0.9319 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.7134, allocations: 1.368 MB / 0.9333 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.7138, allocations: 179.7 kB / 0.9334 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.7141, allocations: 97.11 kB / 0.9335 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.7146, allocations: 113 kB / 0.9336 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.7147, allocations: 50.44 kB / 0.9337 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.7147, allocations: 0 / 0.9337 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0008908/0.7156, allocations: 197.3 kB / 0.9339 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.7157, allocations: 200.5 kB / 0.9341 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.7162, allocations: 283 kB / 0.9343 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.7163, allocations: 29.7 kB / 0.9344 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.7165, allocations: 151.9 kB / 0.9345 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.7165, allocations: 35.77 kB / 0.9346 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7167, allocations: 41.7 kB / 0.9346 GB, free: 6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.7169, allocations: 330.8 kB / 0.9349 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.7171, allocations: 47.91 kB / 0.935 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.7174, allocations: 120.5 kB / 0.9351 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.7178, allocations: 150.7 kB / 0.9352 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7178, allocations: 0 / 0.9352 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006353/0.7185, allocations: 197.3 kB / 0.9354 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7185, allocations: 7.938 kB / 0.9354 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7185, allocations: 4 kB / 0.9354 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7185, allocations: 0 / 0.9354 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.7187, allocations: 27.98 kB / 0.9354 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7187, allocations: 7.938 kB / 0.9354 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.719, allocations: 36.05 kB / 0.9355 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.719, allocations: 7.625 kB / 0.9355 GB, free: 5.02 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.0002026/0.7192, allocations: 149.8 kB / 0.9356 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7194, allocations: 27.8 kB / 0.9357 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.7199, allocations: 134.8 kB / 0.9358 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7199, allocations: 4 kB / 0.9358 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.72, allocations: 4 kB / 0.9358 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.72, allocations: 7.984 kB / 0.9358 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.7215, allocations: 0.7613 MB / 0.9365 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7215, allocations: 48 / 0.9365 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.7217, allocations: 36 kB / 0.9366 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.7217, allocations: 8 kB / 0.9366 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.7217, allocations: 4 kB / 0.9366 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7217, allocations: 3.984 kB / 0.9366 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7217, allocations: 0 / 0.9366 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.7225, allocations: 335.5 kB / 0.9369 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.7227, allocations: 117 kB / 0.937 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.7227, allocations: 3.938 kB / 0.937 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.723, allocations: 4 kB / 0.937 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.723, allocations: 23.98 kB / 0.9371 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7231, allocations: 4 kB / 0.9371 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003043/0.7234, allocations: 205.9 kB / 0.9373 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7234, allocations: 4 kB / 0.9373 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006843/0.7241, allocations: 59.88 kB / 0.9373 GB, free: 3.004 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.001431/0.7255, allocations: 0.911 MB / 0.9382 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.7261, allocations: 123.8 kB / 0.9383 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7261, allocations: 4 kB / 0.9383 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.7263, allocations: 56.66 kB / 0.9384 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.7271, allocations: 132 kB / 0.9385 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.7305, allocations: 2.616 MB / 0.9411 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.7309, allocations: 0.7558 MB / 0.9418 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000149/0.731, allocations: 46.27 kB / 0.9418 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.7311, allocations: 79.34 kB / 0.9419 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of SimCode: time 3.3e-07/0.7312, allocations: 0 / 0.9419 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/0.7981, allocations: 6.889 MB / 0.9486 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.583, allocations: 9.625 kB / 0.9487 GB, free: 7.387 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)