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.001632/0.001632, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.00237/0.00237, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 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.8903/0.8903, allocations: 143.1 MB / 434.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3793, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4952/0.8745, allocations: 167.6 MB / 0.7593 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00715/0.8817, allocations: 6.561 MB / 0.7657 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.8823, allocations: 14 kB / 0.7658 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.8829, allocations: 172.8 kB / 0.7659 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.8853, allocations: 0.8398 MB / 0.7667 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.8864, allocations: 327.9 kB / 0.7671 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.8874, allocations: 0.7206 MB / 0.7678 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.888, allocations: 281.5 kB / 0.768 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.8894, allocations: 0.5513 MB / 0.7686 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.8899, allocations: 272 kB / 0.7688 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.89, allocations: 23.31 kB / 0.7688 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.8907, allocations: 341.1 kB / 0.7692 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.8908, allocations: 110.7 kB / 0.7693 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.8911, allocations: 164.5 kB / 0.7694 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.8919, allocations: 488 kB / 0.7699 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8919, allocations: 1.938 kB / 0.7699 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8919, allocations: 0 / 0.7699 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.892, allocations: 0 / 0.7699 GB, free: 1.492 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.001253/0.8932, allocations: 0.6174 MB / 0.7705 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8933, allocations: 9.469 kB / 0.7705 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.8937, allocations: 56.31 kB / 0.7706 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.8943, allocations: 327.1 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.8943, allocations: 18.44 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.8944, allocations: 31.03 kB / 0.7709 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.895, allocations: 320.6 kB / 0.7712 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8951, allocations: 0.5625 kB / 0.7712 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.8951, allocations: 15.59 kB / 0.7712 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8951, allocations: 6.438 kB / 0.7713 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.8955, allocations: 206.3 kB / 0.7714 GB, free: 16.68 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.00141/0.8969, allocations: 1.533 MB / 0.7729 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.8972, allocations: 120.9 kB / 0.7731 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.8973, allocations: 89.61 kB / 0.7731 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.8979, allocations: 302.9 kB / 0.7734 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.8979, allocations: 36.56 kB / 0.7735 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.8979, allocations: 3.094 kB / 0.7735 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006705/0.8986, allocations: 266.5 kB / 0.7737 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.8987, allocations: 53.45 kB / 0.7738 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.899, allocations: 320.2 kB / 0.7741 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.899, allocations: 30.23 kB / 0.7741 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8991, allocations: 181.1 kB / 0.7743 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.8992, allocations: 42.89 kB / 0.7743 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.8992, allocations: 36.77 kB / 0.7744 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8994, allocations: 342.5 kB / 0.7747 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.8996, allocations: 59.94 kB / 0.7747 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.8998, allocations: 113.9 kB / 0.7749 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.9001, allocations: 176.5 kB / 0.775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.9001, allocations: 0.75 kB / 0.775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004159/0.9005, allocations: 217.1 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.9005, allocations: 5.719 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9005, allocations: 3.406 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9006, allocations: 3.672 kB / 0.7752 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.9007, allocations: 35.14 kB / 0.7753 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9007, allocations: 6.969 kB / 0.7753 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.9009, allocations: 36.91 kB / 0.7753 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.9009, allocations: 9.016 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.0001396/0.9011, allocations: 147.2 kB / 0.7755 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.9011, allocations: 25.44 kB / 0.7755 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.9015, allocations: 207.6 kB / 0.7757 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9015, allocations: 6.156 kB / 0.7757 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9015, allocations: 1.062 kB / 0.7757 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.9016, allocations: 7.031 kB / 0.7757 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.9026, allocations: 0.6857 MB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.9027, allocations: 3.219 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.9028, allocations: 24.41 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.9028, allocations: 3.875 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.9029, allocations: 6.594 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.9029, allocations: 9.766 kB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9029, allocations: 7.156 kB / 0.7764 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.9033, allocations: 341.1 kB / 0.7767 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.9035, allocations: 116.4 kB / 0.7769 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.9035, allocations: 4.828 kB / 0.7769 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.9037, allocations: 15.52 kB / 0.7769 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.9037, allocations: 13.12 kB / 0.7769 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9038, allocations: 8.375 kB / 0.7769 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002514/0.904, allocations: 228.8 kB / 0.7771 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.904, allocations: 2.625 kB / 0.7771 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003863/0.9044, allocations: 68.91 kB / 0.7772 GB, free: 13.37 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.0003821/0.9048, allocations: 159.2 kB / 0.7773 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.9052, allocations: 159.7 kB / 0.7775 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9052, allocations: 2.562 kB / 0.7775 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.9054, allocations: 80.34 kB / 0.7776 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.9061, allocations: 149.2 kB / 0.7777 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.9069, allocations: 0.5386 MB / 0.7782 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.9073, allocations: 0.7781 MB / 0.779 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.9074, allocations: 65.77 kB / 0.7791 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.9075, allocations: 23.66 kB / 0.7791 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.9075, allocations: 0.9375 kB / 0.7791 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.01037/0.9179, allocations: 5.138 MB / 0.7841 GB, free: 12.09 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)