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.001185/0.001185, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001291/0.001292, allocations: 198 kB / 16.14 MB, free: 6.578 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.8716/0.8716, allocations: 143.1 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 82.04 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3723/0.5063, allocations: 165.3 MB / 0.7552 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007196/0.5136, allocations: 6.548 MB / 0.7616 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.5142, allocations: 11.94 kB / 0.7616 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.5147, allocations: 127.1 kB / 0.7617 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.5167, allocations: 0.7938 MB / 0.7625 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.5175, allocations: 290.9 kB / 0.7628 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009677/0.5185, allocations: 1.018 MB / 0.7637 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.5189, allocations: 239.7 kB / 0.764 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.5199, allocations: 0.5176 MB / 0.7645 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.5203, allocations: 282.9 kB / 0.7647 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.5204, allocations: 16 kB / 0.7648 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.521, allocations: 387 kB / 0.7651 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.5211, allocations: 103.7 kB / 0.7652 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.5213, allocations: 163.1 kB / 0.7654 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.5219, allocations: 486.5 kB / 0.7659 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5219, allocations: 4 kB / 0.7659 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5219, allocations: 0 / 0.7659 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.5219, allocations: 0 / 0.7659 GB, free: 13.5 MB / 0.5919 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.0007705/0.5227, allocations: 0.6194 MB / 0.7665 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5227, allocations: 8.031 kB / 0.7665 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.5228, allocations: 59.55 kB / 0.7665 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.5231, allocations: 63.5 kB / 0.7666 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.5234, allocations: 309.2 kB / 0.7669 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5235, allocations: 20.56 kB / 0.7669 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.5235, allocations: 24 kB / 0.7669 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.524, allocations: 319.7 kB / 0.7672 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.524, allocations: 4 kB / 0.7672 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.524, allocations: 8 kB / 0.7672 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5241, allocations: 11.98 kB / 0.7673 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.5245, allocations: 201.5 kB / 0.7674 GB, free: 11.76 MB / 0.5919 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.001321/0.5258, allocations: 1.542 MB / 0.7689 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.526, allocations: 122.4 kB / 0.7691 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.5262, allocations: 88.81 kB / 0.7691 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.5268, allocations: 307.2 kB / 0.7694 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5268, allocations: 34.56 kB / 0.7695 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.5268, allocations: 0 / 0.7695 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006852/0.5275, allocations: 274.5 kB / 0.7697 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.5275, allocations: 51.41 kB / 0.7698 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.5278, allocations: 312.5 kB / 0.7701 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.5279, allocations: 37.64 kB / 0.7701 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.528, allocations: 180.2 kB / 0.7703 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.528, allocations: 43.36 kB / 0.7703 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.5281, allocations: 37.7 kB / 0.7704 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5282, allocations: 342.8 kB / 0.7707 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5283, allocations: 59.86 kB / 0.7708 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.5285, allocations: 113.9 kB / 0.7709 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.5288, allocations: 174.2 kB / 0.771 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5288, allocations: 3.938 kB / 0.771 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003841/0.5292, allocations: 215.2 kB / 0.7712 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5292, allocations: 8 kB / 0.7712 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5292, allocations: 3.984 kB / 0.7712 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5293, allocations: 3.938 kB / 0.7713 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.5294, allocations: 40.08 kB / 0.7713 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5294, allocations: 4.625 kB / 0.7713 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.5296, allocations: 35.67 kB / 0.7713 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5297, allocations: 8 kB / 0.7713 GB, free: 7.469 MB / 0.5919 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.0001241/0.5298, allocations: 153.7 kB / 0.7715 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.5298, allocations: 23.72 kB / 0.7715 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.5302, allocations: 208.2 kB / 0.7717 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5303, allocations: 4 kB / 0.7717 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5303, allocations: 0 / 0.7717 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5303, allocations: 3.984 kB / 0.7717 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.5312, allocations: 0.6879 MB / 0.7724 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5312, allocations: 4 kB / 0.7724 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.5313, allocations: 24.86 kB / 0.7724 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5314, allocations: 4.219 kB / 0.7724 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5314, allocations: 8 kB / 0.7724 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.5314, allocations: 7.938 kB / 0.7724 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5314, allocations: 7.938 kB / 0.7724 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.5318, allocations: 336 kB / 0.7728 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.5319, allocations: 112.8 kB / 0.7729 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.5319, allocations: 8 kB / 0.7729 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.5321, allocations: 19.92 kB / 0.7729 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.5322, allocations: 19.92 kB / 0.7729 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5322, allocations: 4 kB / 0.7729 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001845/0.5324, allocations: 223 kB / 0.7731 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5324, allocations: 0 / 0.7731 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003454/0.5327, allocations: 71.84 kB / 0.7732 GB, free: 5.414 MB / 0.5919 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.0008207/0.5335, allocations: 0.9254 MB / 0.7741 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.5339, allocations: 169.5 kB / 0.7743 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5339, allocations: 0 / 0.7743 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5341, allocations: 79.83 kB / 0.7743 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.5348, allocations: 149 kB / 0.7745 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.5379, allocations: 2.892 MB / 0.7773 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.5382, allocations: 0.7798 MB / 0.7781 GB, free: 232 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.5384, allocations: 57.28 kB / 0.7781 GB, free: 180 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5385, allocations: 95.34 kB / 0.7782 GB, free: 84 kB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5385, allocations: 0 / 0.7782 GB, free: 84 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/0.6592, allocations: 7.703 MB / 0.7857 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.6594, allocations: 250 kB / 0.786 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.322, allocations: 64 / 0.786 GB, free: 8.359 MB / 0.6075 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)