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.001071/0.001071, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 196 kB / 16.64 MB, free: 6.453 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.349/1.349, allocations: 222.9 MB / 240.3 MB, free: 4.352 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.9598/0.9598, allocations: 143 MB / 433.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1566, allocations: 82.05 MB / 0.5945 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4293/0.586, allocations: 167.6 MB / 0.7582 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006568/0.5926, allocations: 6.547 MB / 0.7646 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.5931, allocations: 15.94 kB / 0.7646 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.5937, allocations: 174.7 kB / 0.7648 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.5956, allocations: 0.8401 MB / 0.7656 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.5965, allocations: 327 kB / 0.7659 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.5973, allocations: 0.7174 MB / 0.7666 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.5977, allocations: 279.7 kB / 0.7669 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000994/0.5987, allocations: 0.5564 MB / 0.7674 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.599, allocations: 267 kB / 0.7677 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.5991, allocations: 24 kB / 0.7677 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.5998, allocations: 343.2 kB / 0.768 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.5999, allocations: 107.6 kB / 0.7681 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.6, allocations: 163.2 kB / 0.7683 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.6006, allocations: 494.4 kB / 0.7687 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6006, allocations: 0 / 0.7687 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6006, allocations: 0 / 0.7687 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6007, allocations: 2.062 kB / 0.7687 GB, free: 10.7 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.0007983/0.6015, allocations: 0.616 MB / 0.7693 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6015, allocations: 12.03 kB / 0.7694 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.6016, allocations: 62.53 kB / 0.7694 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.6019, allocations: 59.5 kB / 0.7695 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.6023, allocations: 321.2 kB / 0.7698 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6024, allocations: 20.56 kB / 0.7698 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.6024, allocations: 28 kB / 0.7698 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.6029, allocations: 319.6 kB / 0.7701 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6029, allocations: 0 / 0.7701 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.603, allocations: 16 kB / 0.7701 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.603, allocations: 11.98 kB / 0.7702 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.6034, allocations: 201.5 kB / 0.7704 GB, free: 8.934 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.001369/0.6047, allocations: 1.523 MB / 0.7718 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.605, allocations: 130.4 kB / 0.772 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.6052, allocations: 92.8 kB / 0.7721 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.6057, allocations: 303.2 kB / 0.7723 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6058, allocations: 34.56 kB / 0.7724 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.6058, allocations: 0 / 0.7724 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007261/0.6065, allocations: 265.4 kB / 0.7726 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6065, allocations: 59.39 kB / 0.7727 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.6068, allocations: 320.4 kB / 0.773 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.6069, allocations: 29.7 kB / 0.773 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.607, allocations: 180.1 kB / 0.7732 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.607, allocations: 39.38 kB / 0.7732 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.6071, allocations: 37.7 kB / 0.7733 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6072, allocations: 338.8 kB / 0.7736 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.6074, allocations: 63.86 kB / 0.7736 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.6076, allocations: 113.7 kB / 0.7738 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.6079, allocations: 176.9 kB / 0.7739 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6079, allocations: 3.938 kB / 0.7739 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004097/0.6083, allocations: 213.2 kB / 0.7741 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6083, allocations: 4.781 kB / 0.7741 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6084, allocations: 8.156 kB / 0.7741 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6084, allocations: 0 / 0.7741 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.6085, allocations: 39.91 kB / 0.7742 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6086, allocations: 0.625 kB / 0.7742 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.6087, allocations: 40.23 kB / 0.7742 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.6088, allocations: 4 kB / 0.7742 GB, free: 4.664 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.0001353/0.6089, allocations: 153.7 kB / 0.7744 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.609, allocations: 23.72 kB / 0.7744 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.6094, allocations: 214.3 kB / 0.7746 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6094, allocations: 3.938 kB / 0.7746 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6094, allocations: 0.8125 kB / 0.7746 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6094, allocations: 0 / 0.7746 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.6104, allocations: 0.6873 MB / 0.7753 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6104, allocations: 0.625 kB / 0.7753 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.6105, allocations: 27.98 kB / 0.7753 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6105, allocations: 48 / 0.7753 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.6105, allocations: 16.2 kB / 0.7753 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6105, allocations: 8.625 kB / 0.7753 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6106, allocations: 3.938 kB / 0.7753 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.6109, allocations: 333.1 kB / 0.7756 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.611, allocations: 112.8 kB / 0.7758 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.6111, allocations: 7.984 kB / 0.7758 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.6112, allocations: 21.06 kB / 0.7758 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.6113, allocations: 11.98 kB / 0.7758 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6113, allocations: 8 kB / 0.7758 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001824/0.6115, allocations: 223 kB / 0.776 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6115, allocations: 0 / 0.776 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003494/0.6119, allocations: 75.84 kB / 0.7761 GB, free: 2.609 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.0009198/0.6128, allocations: 0.9303 MB / 0.777 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.6132, allocations: 161.6 kB / 0.7771 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6132, allocations: 4 kB / 0.7772 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6134, allocations: 86.95 kB / 0.7772 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.6141, allocations: 145.6 kB / 0.7774 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.6172, allocations: 2.795 MB / 0.7801 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6176, allocations: 0.7834 MB / 0.7809 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.6177, allocations: 62.14 kB / 0.7809 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.6179, allocations: 91.41 kB / 0.781 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6179, allocations: 0 / 0.781 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.6421, allocations: 8.078 MB / 0.7889 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.45, allocations: 9.172 kB / 0.7889 GB, free: 5.516 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)