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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.00176/0.00176, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.19 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.8567/0.8567, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4504/0.7676, allocations: 167.6 MB / 0.7593 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006041/0.7737, allocations: 6.561 MB / 0.7657 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.7741, allocations: 19.59 kB / 0.7658 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.7746, allocations: 173.3 kB / 0.7659 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.7765, allocations: 0.8386 MB / 0.7667 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.7773, allocations: 331.3 kB / 0.7671 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007468/0.778, allocations: 0.716 MB / 0.7678 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.7785, allocations: 281.6 kB / 0.768 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.7795, allocations: 0.5502 MB / 0.7686 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.7798, allocations: 273 kB / 0.7688 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.7799, allocations: 23.34 kB / 0.7688 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.7805, allocations: 340.8 kB / 0.7692 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.7806, allocations: 109.7 kB / 0.7693 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.7808, allocations: 165.4 kB / 0.7694 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.7814, allocations: 489.4 kB / 0.7699 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7814, allocations: 3.5 kB / 0.7699 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7814, allocations: 0 / 0.7699 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7815, allocations: 2.125 kB / 0.7699 GB, free: 1.5 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009307/0.7824, allocations: 0.6154 MB / 0.7705 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7824, allocations: 10.47 kB / 0.7705 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.7828, allocations: 57.7 kB / 0.7706 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.7833, allocations: 326.2 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.7833, allocations: 19.03 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.7834, allocations: 24.41 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.784, allocations: 320.7 kB / 0.7712 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.784, allocations: 1.562 kB / 0.7712 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.784, allocations: 15.92 kB / 0.7712 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.784, allocations: 8.562 kB / 0.7713 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.7844, allocations: 200.9 kB / 0.7714 GB, free: 16.69 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.7858, allocations: 1.529 MB / 0.7729 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.786, allocations: 123.5 kB / 0.7731 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.7861, allocations: 94.61 kB / 0.7731 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.7867, allocations: 307 kB / 0.7734 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7867, allocations: 35.41 kB / 0.7735 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.7867, allocations: 3.984 kB / 0.7735 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006624/0.7874, allocations: 269.2 kB / 0.7737 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.7874, allocations: 54.78 kB / 0.7738 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.7877, allocations: 317.2 kB / 0.7741 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.7877, allocations: 25.7 kB / 0.7741 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.7878, allocations: 184.5 kB / 0.7743 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.7879, allocations: 43.23 kB / 0.7743 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.7879, allocations: 38.12 kB / 0.7744 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.788, allocations: 336.9 kB / 0.7747 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.7882, allocations: 67.66 kB / 0.7748 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.7883, allocations: 109.8 kB / 0.7749 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.7886, allocations: 179.5 kB / 0.775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7886, allocations: 2.469 kB / 0.775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003596/0.789, allocations: 216 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.789, allocations: 11.31 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.789, allocations: 0.9688 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.789, allocations: 2.375 kB / 0.7753 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.7892, allocations: 36.34 kB / 0.7753 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7892, allocations: 2.156 kB / 0.7753 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.7894, allocations: 40.73 kB / 0.7753 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.7894, allocations: 9.281 kB / 0.7753 GB, free: 14.32 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.0001268/0.7895, allocations: 146.6 kB / 0.7755 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.7896, allocations: 24.72 kB / 0.7755 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.79, allocations: 210.9 kB / 0.7757 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.79, allocations: 4.062 kB / 0.7757 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.79, allocations: 0 / 0.7757 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.79, allocations: 7.641 kB / 0.7757 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.791, allocations: 0.6785 MB / 0.7764 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.791, allocations: 4.047 kB / 0.7764 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.7912, allocations: 32.94 kB / 0.7764 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.7912, allocations: 3.75 kB / 0.7764 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.7912, allocations: 3.094 kB / 0.7764 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.7912, allocations: 7.656 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7912, allocations: 2.5 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.7916, allocations: 346 kB / 0.7768 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7917, allocations: 112.4 kB / 0.7769 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.7918, allocations: 9.688 kB / 0.7769 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.7919, allocations: 11.45 kB / 0.7769 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.792, allocations: 13.12 kB / 0.7769 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.792, allocations: 5.094 kB / 0.7769 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000172/0.7922, allocations: 229.9 kB / 0.7771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7922, allocations: 0.8125 kB / 0.7771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003688/0.7926, allocations: 74.05 kB / 0.7772 GB, free: 13.38 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.0003131/0.7929, allocations: 157.7 kB / 0.7773 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.7932, allocations: 154.3 kB / 0.7775 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7932, allocations: 0.9062 kB / 0.7775 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.7934, allocations: 84.7 kB / 0.7776 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.7941, allocations: 151 kB / 0.7777 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.7948, allocations: 0.5318 MB / 0.7782 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7951, allocations: 0.7844 MB / 0.779 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.7953, allocations: 60.27 kB / 0.7791 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.7954, allocations: 25.77 kB / 0.7791 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.7954, allocations: 0 / 0.7791 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.008053/0.8034, allocations: 5.129 MB / 0.7841 GB, free: 12.11 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)