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.001407/0.001407, allocations: 103.4 kB / 15.98 MB, free: 6.348 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.001547/0.001547, allocations: 199 kB / 16.91 MB, free: 6.188 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.8718/0.8718, allocations: 143 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 82.02 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5036/0.8575, allocations: 165.3 MB / 0.7559 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006759/0.8643, allocations: 6.504 MB / 0.7622 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.8649, allocations: 12.75 kB / 0.7622 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.8655, allocations: 135.8 kB / 0.7623 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.8677, allocations: 0.7893 MB / 0.7631 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009424/0.8687, allocations: 297.9 kB / 0.7634 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.8697, allocations: 0.7219 MB / 0.7641 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.8702, allocations: 267.5 kB / 0.7644 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.8716, allocations: 0.5468 MB / 0.7649 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.872, allocations: 289.2 kB / 0.7652 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.8721, allocations: 23.16 kB / 0.7652 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.8728, allocations: 354.1 kB / 0.7655 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.873, allocations: 105.2 kB / 0.7656 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.8732, allocations: 173.9 kB / 0.7658 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.8738, allocations: 344.8 kB / 0.7661 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8738, allocations: 0 / 0.7661 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8738, allocations: 0.6562 kB / 0.7661 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.8738, allocations: 0.75 kB / 0.7661 GB, free: 1.613 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.001076/0.8749, allocations: 0.6256 MB / 0.7667 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.875, allocations: 9.656 kB / 0.7667 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.8753, allocations: 59.3 kB / 0.7668 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.8757, allocations: 306.9 kB / 0.7671 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.8758, allocations: 18.88 kB / 0.7671 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.8758, allocations: 24.44 kB / 0.7671 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.8764, allocations: 320.4 kB / 0.7674 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8764, allocations: 3.109 kB / 0.7674 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.8764, allocations: 15.97 kB / 0.7675 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8765, allocations: 6.625 kB / 0.7675 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.8769, allocations: 202.8 kB / 0.7677 GB, free: 16.8 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.001573/0.8785, allocations: 1.537 MB / 0.7692 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.8788, allocations: 126.4 kB / 0.7693 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.879, allocations: 85.5 kB / 0.7694 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/0.8798, allocations: 305.9 kB / 0.7697 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8798, allocations: 39.41 kB / 0.7697 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.8798, allocations: 0 / 0.7697 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0008164/0.8806, allocations: 263.3 kB / 0.7699 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8807, allocations: 55.08 kB / 0.77 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.881, allocations: 321.8 kB / 0.7703 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.881, allocations: 28.83 kB / 0.7703 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.8811, allocations: 181.5 kB / 0.7705 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.8812, allocations: 39.47 kB / 0.7705 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.8813, allocations: 38.86 kB / 0.7706 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8814, allocations: 340.1 kB / 0.7709 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.8815, allocations: 62.34 kB / 0.771 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.8817, allocations: 115.3 kB / 0.7711 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.882, allocations: 177.5 kB / 0.7712 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.882, allocations: 1.062 kB / 0.7712 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003768/0.8824, allocations: 216.6 kB / 0.7714 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.8824, allocations: 8.719 kB / 0.7715 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8824, allocations: 3.406 kB / 0.7715 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.8824, allocations: 4.641 kB / 0.7715 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.8826, allocations: 31.39 kB / 0.7715 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8826, allocations: 5.969 kB / 0.7715 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.8829, allocations: 41.3 kB / 0.7715 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.8829, allocations: 10.53 kB / 0.7715 GB, free: 14.43 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.0001639/0.8831, allocations: 150.8 kB / 0.7717 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.8832, allocations: 25.31 kB / 0.7717 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.8836, allocations: 210.9 kB / 0.7719 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8836, allocations: 0 / 0.7719 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8836, allocations: 3.125 kB / 0.7719 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.8836, allocations: 1.031 kB / 0.7719 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/0.8846, allocations: 0.6923 MB / 0.7726 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8846, allocations: 5.062 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.8847, allocations: 27.19 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8847, allocations: 6.281 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8848, allocations: 5.406 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8848, allocations: 3.531 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8848, allocations: 0.9844 kB / 0.7726 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.8852, allocations: 340.9 kB / 0.773 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.8853, allocations: 119.5 kB / 0.7731 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.8853, allocations: 6.156 kB / 0.7731 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.8855, allocations: 18.58 kB / 0.7731 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.8856, allocations: 16.02 kB / 0.7731 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.8856, allocations: 5.062 kB / 0.7731 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001905/0.8858, allocations: 227.9 kB / 0.7733 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8858, allocations: 0.875 kB / 0.7733 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003901/0.8862, allocations: 72.44 kB / 0.7734 GB, free: 13.48 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.0003734/0.8866, allocations: 165.3 kB / 0.7736 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.887, allocations: 158.1 kB / 0.7737 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.887, allocations: 1.312 kB / 0.7737 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.8872, allocations: 81.77 kB / 0.7738 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.8882, allocations: 148.2 kB / 0.7739 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.8892, allocations: 0.6674 MB / 0.7746 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.8895, allocations: 0.7843 MB / 0.7754 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.8896, allocations: 31.33 kB / 0.7754 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.8896, allocations: 0 / 0.7754 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.00668/0.8963, allocations: 4.561 MB / 0.7798 GB, free: 12.02 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)