Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.006468/0.006468, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001262/0.001263, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8349/0.8349, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.2 kB / 0.5951 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1722, allocations: 82.04 MB / 0.6752 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6319/0.8041, allocations: 167.6 MB / 0.8388 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008436/0.8126, allocations: 6.558 MB / 0.8452 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.8133, allocations: 14.56 kB / 0.8452 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.8141, allocations: 172.9 kB / 0.8454 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.8165, allocations: 0.8418 MB / 0.8462 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.8176, allocations: 326.8 kB / 0.8465 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008455/0.8184, allocations: 0.7222 MB / 0.8472 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.8189, allocations: 274.9 kB / 0.8475 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.82, allocations: 0.5546 MB / 0.8481 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.8204, allocations: 266.2 kB / 0.8483 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.8205, allocations: 22.94 kB / 0.8483 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.8212, allocations: 345.6 kB / 0.8487 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.8213, allocations: 106.5 kB / 0.8488 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.8215, allocations: 164.6 kB / 0.8489 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.8221, allocations: 487.9 kB / 0.8494 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8222, allocations: 4 kB / 0.8494 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8222, allocations: 0 / 0.8494 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.8222, allocations: 0 / 0.8494 GB, free: 10.41 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008175/0.823, allocations: 0.6221 MB / 0.85 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8231, allocations: 10.41 kB / 0.85 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.8231, allocations: 57.42 kB / 0.8501 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.8234, allocations: 60.64 kB / 0.8501 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.8239, allocations: 326.4 kB / 0.8504 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.824, allocations: 20.75 kB / 0.8504 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.824, allocations: 24.94 kB / 0.8505 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.8245, allocations: 312.2 kB / 0.8508 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8245, allocations: 6.438 kB / 0.8508 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.8246, allocations: 10.31 kB / 0.8508 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8246, allocations: 5.5 kB / 0.8508 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.825, allocations: 209.6 kB / 0.851 GB, free: 9.109 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.8264, allocations: 1.535 MB / 0.8525 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.8266, allocations: 122 kB / 0.8526 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.8268, allocations: 86.16 kB / 0.8527 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/0.8274, allocations: 312.6 kB / 0.853 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.8274, allocations: 38.5 kB / 0.853 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.8274, allocations: 4 kB / 0.853 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007263/0.8282, allocations: 265.6 kB / 0.8533 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.8282, allocations: 53.5 kB / 0.8533 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.8285, allocations: 313.7 kB / 0.8536 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.8286, allocations: 25.7 kB / 0.8537 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.8287, allocations: 189.7 kB / 0.8538 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.8287, allocations: 40.64 kB / 0.8539 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.8288, allocations: 40.3 kB / 0.8539 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8289, allocations: 338.7 kB / 0.8542 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.8291, allocations: 54.42 kB / 0.8543 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.8293, allocations: 125.6 kB / 0.8544 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.8295, allocations: 166.8 kB / 0.8546 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.8296, allocations: 7.938 kB / 0.8546 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000381/0.8299, allocations: 226.1 kB / 0.8548 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.83, allocations: 4.812 kB / 0.8548 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.83, allocations: 2.875 kB / 0.8548 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.83, allocations: 0 / 0.8548 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8302, allocations: 42.02 kB / 0.8548 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8302, allocations: 8.156 kB / 0.8548 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.8304, allocations: 27.67 kB / 0.8549 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.8304, allocations: 12 kB / 0.8549 GB, free: 5.742 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000128/0.8305, allocations: 145.8 kB / 0.855 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.8306, allocations: 23.72 kB / 0.855 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.831, allocations: 212.3 kB / 0.8552 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.831, allocations: 8 kB / 0.8553 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.831, allocations: 0 / 0.8553 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.831, allocations: 0 / 0.8553 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008842/0.8319, allocations: 0.6834 MB / 0.8559 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8319, allocations: 4.875 kB / 0.8559 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.8321, allocations: 31.91 kB / 0.856 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.8321, allocations: 4 kB / 0.856 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.8321, allocations: 0 / 0.856 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.8321, allocations: 7.938 kB / 0.856 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8321, allocations: 4 kB / 0.856 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.8325, allocations: 334.2 kB / 0.8563 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.8326, allocations: 128.6 kB / 0.8564 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.8327, allocations: 4 kB / 0.8564 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.8328, allocations: 15.92 kB / 0.8564 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.8329, allocations: 11.92 kB / 0.8564 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.8329, allocations: 8 kB / 0.8564 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000188/0.8331, allocations: 223 kB / 0.8567 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8331, allocations: 4 kB / 0.8567 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003522/0.8334, allocations: 75.83 kB / 0.8567 GB, free: 3.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0008501/0.8343, allocations: 0.9227 MB / 0.8576 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.8347, allocations: 163.2 kB / 0.8578 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8347, allocations: 320 / 0.8578 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.8349, allocations: 87.81 kB / 0.8579 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.8356, allocations: 151.3 kB / 0.858 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.8387, allocations: 2.799 MB / 0.8608 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.8391, allocations: 0.7795 MB / 0.8615 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.8393, allocations: 62.92 kB / 0.8616 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.8394, allocations: 91.41 kB / 0.8617 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.8394, allocations: 0 / 0.8617 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.8676, allocations: 8.254 MB / 0.8697 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.742, allocations: 12.36 kB / 0.8697 GB, free: 6.359 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)