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.001047/0.001047, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.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.9122/0.9122, allocations: 143 MB / 433.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.91 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1587, allocations: 82.04 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4394/0.5982, allocations: 159.2 MB / 0.7493 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.603, allocations: 4.51 MB / 0.7537 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.6033, allocations: 11.94 kB / 0.7537 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.6036, allocations: 107.3 kB / 0.7538 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.6042, allocations: 318.6 kB / 0.7542 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.6048, allocations: 244.2 kB / 0.7544 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.6054, allocations: 0.5727 MB / 0.7549 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.6056, allocations: 193.7 kB / 0.7551 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.6064, allocations: 450.3 kB / 0.7556 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.6067, allocations: 200.4 kB / 0.7557 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.6067, allocations: 20 kB / 0.7558 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.6069, allocations: 79.88 kB / 0.7558 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.607, allocations: 91.77 kB / 0.7559 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.6071, allocations: 119.4 kB / 0.756 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.6074, allocations: 303 kB / 0.7563 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.6074, allocations: 0 / 0.7563 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6074, allocations: 0 / 0.7563 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6074, allocations: 0 / 0.7563 GB, free: 7.262 MB / 0.5762 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.0006779/0.6081, allocations: 0.5373 MB / 0.7569 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6081, allocations: 12.03 kB / 0.7569 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.6082, allocations: 50.53 kB / 0.7569 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.6082, allocations: 35.56 kB / 0.757 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.6085, allocations: 279.2 kB / 0.7572 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6086, allocations: 16.5 kB / 0.7572 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.6086, allocations: 19.98 kB / 0.7573 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.609, allocations: 257.2 kB / 0.7575 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.609, allocations: 0 / 0.7575 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.6091, allocations: 15.94 kB / 0.7575 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6091, allocations: 4 kB / 0.7575 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.6094, allocations: 147.8 kB / 0.7577 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.6106, allocations: 1.368 MB / 0.759 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.6109, allocations: 179.7 kB / 0.7592 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.611, allocations: 93.11 kB / 0.7593 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.6114, allocations: 121 kB / 0.7594 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6114, allocations: 42.44 kB / 0.7594 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.6114, allocations: 0 / 0.7594 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005451/0.6119, allocations: 217.7 kB / 0.7596 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.612, allocations: 179.9 kB / 0.7598 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.6123, allocations: 291 kB / 0.7601 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6123, allocations: 26.33 kB / 0.7601 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6124, allocations: 147.9 kB / 0.7602 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.6125, allocations: 35.45 kB / 0.7603 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.6125, allocations: 41.7 kB / 0.7603 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6127, allocations: 330.8 kB / 0.7606 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.6128, allocations: 47.95 kB / 0.7607 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.613, allocations: 128.2 kB / 0.7608 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.6133, allocations: 155.6 kB / 0.7609 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6133, allocations: 4 kB / 0.7609 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003564/0.6136, allocations: 190.4 kB / 0.7611 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6137, allocations: 7.938 kB / 0.7611 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6137, allocations: 4 kB / 0.7611 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6137, allocations: 4 kB / 0.7611 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6138, allocations: 31.92 kB / 0.7612 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.6138, allocations: 7.984 kB / 0.7612 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.614, allocations: 30.86 kB / 0.7612 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.614, allocations: 8 kB / 0.7612 GB, free: 1.812 MB / 0.5762 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.6141, allocations: 150.5 kB / 0.7614 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6143, allocations: 27.66 kB / 0.7614 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.6146, allocations: 131 kB / 0.7615 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6146, allocations: 4 kB / 0.7615 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6146, allocations: 0 / 0.7615 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6146, allocations: 0 / 0.7615 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007774/0.6154, allocations: 0.7768 MB / 0.7623 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6154, allocations: 0 / 0.7623 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.6155, allocations: 31.97 kB / 0.7623 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6155, allocations: 0 / 0.7623 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6156, allocations: 4 kB / 0.7623 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6156, allocations: 160 / 0.7623 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6156, allocations: 11.94 kB / 0.7623 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.6161, allocations: 339.3 kB / 0.7626 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.6162, allocations: 108.8 kB / 0.7627 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.6162, allocations: 7.25 kB / 0.7628 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6164, allocations: 11.98 kB / 0.7628 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.6164, allocations: 11.92 kB / 0.7628 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.6164, allocations: 4 kB / 0.7628 GB, free: 72 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001925/0.6166, allocations: 214.1 kB / 0.763 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6166, allocations: 0 / 0.763 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003044/0.6169, allocations: 63.84 kB / 0.763 GB, free: 15.8 MB / 0.5919 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.0008651/0.6178, allocations: 0.8979 MB / 0.7639 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.6181, allocations: 136 kB / 0.764 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6181, allocations: 0 / 0.764 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.6183, allocations: 63.89 kB / 0.7641 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.6189, allocations: 135.2 kB / 0.7642 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.6218, allocations: 2.663 MB / 0.7668 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.6221, allocations: 0.7519 MB / 0.7676 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.6222, allocations: 50.25 kB / 0.7676 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.6223, allocations: 67.42 kB / 0.7677 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6223, allocations: 0 / 0.7677 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/0.8539, allocations: 6.653 MB / 0.7742 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.8541, allocations: 252.6 kB / 0.7744 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.951, allocations: 0 / 0.7744 GB, free: 4.18 MB / 0.5919 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)