Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.005732/0.005732, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001214/0.001214, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8501/0.8501, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.31 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5759/0.7311, allocations: 163.3 MB / 0.8346 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.7364, allocations: 4.582 MB / 0.8391 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.7369, allocations: 11.19 kB / 0.8391 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.7373, allocations: 124 kB / 0.8392 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.7386, allocations: 0.5408 MB / 0.8397 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.7402, allocations: 0.7752 MB / 0.8405 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000563/0.7408, allocations: 0.5747 MB / 0.8411 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.7411, allocations: 210.4 kB / 0.8413 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008789/0.742, allocations: 465.8 kB / 0.8417 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.7426, allocations: 295.4 kB / 0.842 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.7427, allocations: 17.72 kB / 0.842 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.7443, allocations: 1 MB / 0.843 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.7444, allocations: 89.5 kB / 0.8431 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.7446, allocations: 120.8 kB / 0.8432 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.7458, allocations: 0.7345 MB / 0.8439 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7459, allocations: 0 / 0.8439 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7459, allocations: 0 / 0.8439 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7459, allocations: 0 / 0.8439 GB, free: 15.11 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001092/0.747, allocations: 0.5932 MB / 0.8445 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.747, allocations: 11.81 kB / 0.8445 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.84e-05/0.7471, allocations: 49.98 kB / 0.8445 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.7478, allocations: 81.5 kB / 0.8446 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.7483, allocations: 293.3 kB / 0.8449 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.7483, allocations: 18.09 kB / 0.8449 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.7484, allocations: 20.59 kB / 0.8449 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.7489, allocations: 279.3 kB / 0.8452 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7489, allocations: 0 / 0.8452 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.7489, allocations: 10.53 kB / 0.8452 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.7489, allocations: 17.3 kB / 0.8452 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.7494, allocations: 208.9 kB / 0.8454 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.751, allocations: 1.246 MB / 0.8466 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.7513, allocations: 171.1 kB / 0.8468 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.7515, allocations: 115.9 kB / 0.8469 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.7523, allocations: 329.4 kB / 0.8472 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.7524, allocations: 43 kB / 0.8473 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7524, allocations: 0 / 0.8473 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0008147/0.7532, allocations: 279.9 kB / 0.8475 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.7533, allocations: 165.7 kB / 0.8477 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.7536, allocations: 279 kB / 0.848 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7536, allocations: 32.55 kB / 0.848 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.7538, allocations: 149.1 kB / 0.8481 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.7538, allocations: 48.33 kB / 0.8482 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.7539, allocations: 42.98 kB / 0.8482 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7541, allocations: 339.6 kB / 0.8485 GB, free: 11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.7543, allocations: 79.09 kB / 0.8486 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.7545, allocations: 141.1 kB / 0.8488 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.755, allocations: 214.9 kB / 0.849 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.755, allocations: 4 kB / 0.849 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005952/0.7556, allocations: 240.3 kB / 0.8492 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7556, allocations: 5.281 kB / 0.8492 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7556, allocations: 2.406 kB / 0.8492 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7556, allocations: 2.5 kB / 0.8492 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.7558, allocations: 48.06 kB / 0.8493 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.7558, allocations: 6.281 kB / 0.8493 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.756, allocations: 26.14 kB / 0.8493 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.7561, allocations: 15.69 kB / 0.8493 GB, free: 10.51 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001349/0.7562, allocations: 149.5 kB / 0.8494 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7564, allocations: 28.25 kB / 0.8495 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.7568, allocations: 186.5 kB / 0.8496 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7568, allocations: 2.719 kB / 0.8496 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7569, allocations: 2.094 kB / 0.8496 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7569, allocations: 6.938 kB / 0.8497 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.7578, allocations: 0.8485 MB / 0.8505 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7578, allocations: 160 / 0.8505 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.758, allocations: 28.92 kB / 0.8505 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.758, allocations: 6.844 kB / 0.8505 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.758, allocations: 7.656 kB / 0.8505 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.758, allocations: 2.094 kB / 0.8505 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.758, allocations: 6.453 kB / 0.8505 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.7586, allocations: 329.9 kB / 0.8508 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.7588, allocations: 122.8 kB / 0.851 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.7588, allocations: 3.562 kB / 0.851 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.759, allocations: 4.719 kB / 0.851 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.759, allocations: 20.7 kB / 0.851 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.759, allocations: 2.656 kB / 0.851 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002735/0.7593, allocations: 234 kB / 0.8512 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7593, allocations: 0 / 0.8512 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005056/0.7598, allocations: 91.89 kB / 0.8513 GB, free: 8.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001358/0.7612, allocations: 0.9975 MB / 0.8523 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.7616, allocations: 151.2 kB / 0.8524 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7616, allocations: 0 / 0.8524 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.7618, allocations: 56.22 kB / 0.8525 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.7626, allocations: 146.4 kB / 0.8526 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7661, allocations: 2.775 MB / 0.8553 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.7665, allocations: 0.7519 MB / 0.8561 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.7667, allocations: 66.88 kB / 0.8561 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.7668, allocations: 79.41 kB / 0.8562 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.7668, allocations: 0 / 0.8562 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.7954, allocations: 8.62 MB / 0.8646 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.891, allocations: 13.52 kB / 0.8646 GB, free: 11.48 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)