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/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.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.006322/0.006322, allocations: 100.5 kB / 15.73 MB, free: 5.609 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.001247/0.001247, allocations: 197.6 kB / 16.67 MB, free: 5.535 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8373/0.8373, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.66 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 82.04 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5725/0.7422, allocations: 161.4 MB / 0.8328 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007545/0.7498, allocations: 4.544 MB / 0.8372 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/0.7503, allocations: 11.62 kB / 0.8372 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.7509, allocations: 122.5 kB / 0.8374 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.752, allocations: 331.4 kB / 0.8377 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.753, allocations: 280.8 kB / 0.8379 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.7538, allocations: 0.5543 MB / 0.8385 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.7542, allocations: 210 kB / 0.8387 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.7554, allocations: 464.4 kB / 0.8391 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.7557, allocations: 188 kB / 0.8393 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.7558, allocations: 25.86 kB / 0.8393 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.756, allocations: 79.44 kB / 0.8394 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.7561, allocations: 83.53 kB / 0.8395 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.7562, allocations: 124.3 kB / 0.8396 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.7566, allocations: 318.9 kB / 0.8399 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7566, allocations: 0 / 0.8399 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7566, allocations: 0 / 0.8399 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.7567, allocations: 0 / 0.8399 GB, free: 2.027 MB / 0.6075 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.0008161/0.7575, allocations: 0.5326 MB / 0.8404 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7575, allocations: 9.688 kB / 0.8404 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.7576, allocations: 58.33 kB / 0.8405 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.7577, allocations: 28.44 kB / 0.8405 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.758, allocations: 287.1 kB / 0.8408 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.7581, allocations: 11.34 kB / 0.8408 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.7581, allocations: 20.34 kB / 0.8408 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.7585, allocations: 264.2 kB / 0.8411 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7586, allocations: 2.719 kB / 0.8411 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.7586, allocations: 10.47 kB / 0.8411 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7586, allocations: 2.5 kB / 0.8411 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.7589, allocations: 157.8 kB / 0.8412 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.7602, allocations: 1.366 MB / 0.8426 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.7605, allocations: 180.3 kB / 0.8427 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.7606, allocations: 100.2 kB / 0.8428 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.761, allocations: 120 kB / 0.843 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.761, allocations: 45.12 kB / 0.843 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.761, allocations: 4 kB / 0.843 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0005703/0.7616, allocations: 204.9 kB / 0.8432 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.7617, allocations: 186.5 kB / 0.8434 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.762, allocations: 287 kB / 0.8436 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.762, allocations: 33.7 kB / 0.8437 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.7621, allocations: 143.9 kB / 0.8438 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.7622, allocations: 40.86 kB / 0.8439 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.7622, allocations: 34.3 kB / 0.8439 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7624, allocations: 338.8 kB / 0.8442 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.7625, allocations: 42.25 kB / 0.8443 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.7627, allocations: 128.7 kB / 0.8444 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.7629, allocations: 152.2 kB / 0.8445 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.763, allocations: 0 / 0.8445 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000342/0.7633, allocations: 190.6 kB / 0.8447 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7633, allocations: 9.281 kB / 0.8447 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7633, allocations: 6.344 kB / 0.8447 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7634, allocations: 2.406 kB / 0.8447 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.7635, allocations: 34.86 kB / 0.8448 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7635, allocations: 4.656 kB / 0.8448 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.7637, allocations: 29.92 kB / 0.8448 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7637, allocations: 5.406 kB / 0.8448 GB, free: 13.64 MB / 0.6231 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.0001228/0.7638, allocations: 158.5 kB / 0.8449 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.764, allocations: 25.78 kB / 0.845 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.7643, allocations: 123.5 kB / 0.8451 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7643, allocations: 3 kB / 0.8451 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7643, allocations: 3.156 kB / 0.8451 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7643, allocations: 0 / 0.8451 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.7651, allocations: 0.7769 MB / 0.8458 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7651, allocations: 0 / 0.8458 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.7653, allocations: 22.11 kB / 0.8459 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.7653, allocations: 2.406 kB / 0.8459 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7653, allocations: 7.438 kB / 0.8459 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7653, allocations: 10 kB / 0.8459 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.7653, allocations: 2.906 kB / 0.8459 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.7658, allocations: 336.3 kB / 0.8462 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.7659, allocations: 114.9 kB / 0.8463 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.7659, allocations: 2.719 kB / 0.8463 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.766, allocations: 5.844 kB / 0.8463 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.7661, allocations: 16.36 kB / 0.8463 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.7661, allocations: 5.375 kB / 0.8464 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001758/0.7663, allocations: 211.2 kB / 0.8466 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7663, allocations: 2.812 kB / 0.8466 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003147/0.7666, allocations: 53.28 kB / 0.8466 GB, free: 12.06 MB / 0.6231 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.0009477/0.7676, allocations: 0.9136 MB / 0.8475 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.7679, allocations: 124.2 kB / 0.8476 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7679, allocations: 0 / 0.8476 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.7681, allocations: 67.19 kB / 0.8477 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.7688, allocations: 132.9 kB / 0.8478 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.7719, allocations: 2.599 MB / 0.8503 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.7723, allocations: 0.7583 MB / 0.8511 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000156/0.7725, allocations: 52.25 kB / 0.8511 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7726, allocations: 70.81 kB / 0.8512 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.7726, allocations: 0 / 0.8512 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.802, allocations: 6.974 MB / 0.858 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.762, allocations: 12 kB / 0.858 GB, free: 2.273 MB / 0.6231 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)