Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004493/0.004493, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001287/0.001287, allocations: 197.9 kB / 16.67 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9451/0.9451, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 63.89 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3528, allocations: 82.03 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1721/0.525, allocations: 161.4 MB / 0.833 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005202/0.5303, allocations: 4.554 MB / 0.8375 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.5305, allocations: 7.938 kB / 0.8375 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.5309, allocations: 127 kB / 0.8376 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.5317, allocations: 334.4 kB / 0.8379 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.5324, allocations: 270.4 kB / 0.8382 GB, free: 14.92 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.5331, allocations: 0.5651 MB / 0.8387 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.5334, allocations: 201.2 kB / 0.8389 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008463/0.5342, allocations: 458.2 kB / 0.8394 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.5345, allocations: 191.2 kB / 0.8396 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.5346, allocations: 16 kB / 0.8396 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.5347, allocations: 87.86 kB / 0.8397 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.5349, allocations: 87.78 kB / 0.8397 GB, free: 13.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.535, allocations: 119.4 kB / 0.8399 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.5354, allocations: 312.6 kB / 0.8402 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5354, allocations: 0 / 0.8402 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5354, allocations: 0 / 0.8402 GB, free: 12.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5354, allocations: 0 / 0.8402 GB, free: 12.91 MB / 0.67 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.0007755/0.5362, allocations: 0.5486 MB / 0.8407 GB, free: 12.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.5362, allocations: 8.031 kB / 0.8407 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.5363, allocations: 50.55 kB / 0.8407 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.5364, allocations: 35.75 kB / 0.8408 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.5367, allocations: 283.6 kB / 0.841 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.5368, allocations: 19.94 kB / 0.8411 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.5368, allocations: 16 kB / 0.8411 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.5372, allocations: 262.3 kB / 0.8413 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5373, allocations: 7.875 kB / 0.8413 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.5373, allocations: 16 kB / 0.8414 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5373, allocations: 4 kB / 0.8414 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.5376, allocations: 147 kB / 0.8415 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.5389, allocations: 1.372 MB / 0.8428 GB, free: 9.941 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.5392, allocations: 187.7 kB / 0.843 GB, free: 9.703 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.5394, allocations: 97.05 kB / 0.8431 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.5397, allocations: 113.1 kB / 0.8432 GB, free: 9.461 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5398, allocations: 54.36 kB / 0.8433 GB, free: 9.398 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.5398, allocations: 0 / 0.8433 GB, free: 9.398 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0005779/0.5404, allocations: 205.8 kB / 0.8435 GB, free: 9.191 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5405, allocations: 191.9 kB / 0.8436 GB, free: 8.961 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.5408, allocations: 283 kB / 0.8439 GB, free: 8.684 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5408, allocations: 33.7 kB / 0.844 GB, free: 8.645 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.5409, allocations: 147.9 kB / 0.8441 GB, free: 8.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.541, allocations: 35.69 kB / 0.8441 GB, free: 8.461 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.541, allocations: 41.86 kB / 0.8442 GB, free: 8.414 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5412, allocations: 330.8 kB / 0.8445 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5413, allocations: 51.89 kB / 0.8445 GB, free: 8.031 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.5415, allocations: 115.7 kB / 0.8446 GB, free: 7.891 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.5418, allocations: 154.7 kB / 0.8448 GB, free: 7.715 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5418, allocations: 0 / 0.8448 GB, free: 7.715 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000369/0.5422, allocations: 193.2 kB / 0.845 GB, free: 7.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5422, allocations: 4 kB / 0.845 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5422, allocations: 4.219 kB / 0.845 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5422, allocations: 7.984 kB / 0.845 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5424, allocations: 27.98 kB / 0.845 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5424, allocations: 7.938 kB / 0.845 GB, free: 7.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.5425, allocations: 27.83 kB / 0.845 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.5426, allocations: 8 kB / 0.8451 GB, free: 7.434 MB / 0.67 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.000124/0.5427, allocations: 142.5 kB / 0.8452 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5428, allocations: 35.83 kB / 0.8452 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.5432, allocations: 138.9 kB / 0.8454 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5432, allocations: 7.938 kB / 0.8454 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5432, allocations: 384 / 0.8454 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5432, allocations: 4 kB / 0.8454 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.544, allocations: 0.773 MB / 0.8461 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.544, allocations: 4 kB / 0.8461 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5441, allocations: 27.92 kB / 0.8462 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5442, allocations: 4 kB / 0.8462 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5442, allocations: 0 / 0.8462 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5442, allocations: 4 kB / 0.8462 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5442, allocations: 0 / 0.8462 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.5447, allocations: 343.6 kB / 0.8465 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.5448, allocations: 113 kB / 0.8466 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.5448, allocations: 8 kB / 0.8466 GB, free: 5.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.545, allocations: 7.984 kB / 0.8466 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.545, allocations: 23.86 kB / 0.8466 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.545, allocations: 0 / 0.8466 GB, free: 5.672 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001962/0.5452, allocations: 209.9 kB / 0.8468 GB, free: 5.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5453, allocations: 0 / 0.8468 GB, free: 5.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003015/0.5456, allocations: 55.94 kB / 0.8469 GB, free: 5.41 MB / 0.67 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.0009813/0.5465, allocations: 0.9026 MB / 0.8478 GB, free: 4.473 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.5469, allocations: 120.2 kB / 0.8479 GB, free: 4.355 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5469, allocations: 8.125 kB / 0.8479 GB, free: 4.348 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.5471, allocations: 63.83 kB / 0.848 GB, free: 4.285 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.5477, allocations: 126.9 kB / 0.8481 GB, free: 4.164 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.5508, allocations: 2.626 MB / 0.8506 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5512, allocations: 0.7596 MB / 0.8514 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.5513, allocations: 58.22 kB / 0.8514 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.5514, allocations: 75.41 kB / 0.8515 GB, free: 476 kB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.5514, allocations: 0 / 0.8515 GB, free: 476 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9642/1.516, allocations: 6.87 MB / 0.8582 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/9.651, allocations: 7.344 kB / 0.8582 GB, free: 9.773 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)