Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006721/0.006721, allocations: 97.97 kB / 15.88 MB, free: 6.316 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.00169/0.00169, allocations: 194.4 kB / 16.79 MB, free: 6.242 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 / 240.5 MB, free: 4.582 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.9674/0.9674, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 64.09 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1723, allocations: 82.04 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4319/0.6042, allocations: 159.1 MB / 0.7497 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005576/0.6098, allocations: 4.561 MB / 0.7541 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.6103, allocations: 7.938 kB / 0.7541 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.6109, allocations: 95.36 kB / 0.7542 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007995/0.6117, allocations: 314.7 kB / 0.7545 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.6124, allocations: 245 kB / 0.7547 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.6131, allocations: 0.7989 MB / 0.7555 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.6134, allocations: 165.6 kB / 0.7557 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.6143, allocations: 422.4 kB / 0.7561 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.6146, allocations: 203.2 kB / 0.7563 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.6146, allocations: 8 kB / 0.7563 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.6148, allocations: 79.88 kB / 0.7564 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.6149, allocations: 79.78 kB / 0.7564 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.615, allocations: 111.4 kB / 0.7566 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.6153, allocations: 215.5 kB / 0.7568 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6153, allocations: 0 / 0.7568 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6153, allocations: 0 / 0.7568 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6153, allocations: 0 / 0.7568 GB, free: 7.621 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008278/0.6162, allocations: 0.5371 MB / 0.7573 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6162, allocations: 16.03 kB / 0.7573 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.6163, allocations: 31.56 kB / 0.7573 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.6166, allocations: 275.4 kB / 0.7576 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.6167, allocations: 12 kB / 0.7576 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.6167, allocations: 23.84 kB / 0.7576 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.6171, allocations: 261.2 kB / 0.7579 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6171, allocations: 0 / 0.7579 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.6172, allocations: 11.94 kB / 0.7579 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6172, allocations: 4.5 kB / 0.7579 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.6175, allocations: 147.8 kB / 0.758 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6187, allocations: 1.375 MB / 0.7594 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.619, allocations: 187.7 kB / 0.7596 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.6192, allocations: 86.3 kB / 0.7596 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.6196, allocations: 125 kB / 0.7598 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.6196, allocations: 38.5 kB / 0.7598 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.6196, allocations: 0 / 0.7598 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005873/0.6202, allocations: 217.5 kB / 0.76 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.6203, allocations: 183.9 kB / 0.7602 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.6206, allocations: 287 kB / 0.7604 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.6206, allocations: 29.7 kB / 0.7605 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.6207, allocations: 143.9 kB / 0.7606 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.6207, allocations: 39.45 kB / 0.7606 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.6208, allocations: 37.88 kB / 0.7607 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6209, allocations: 338.8 kB / 0.761 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.621, allocations: 43.95 kB / 0.761 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.6212, allocations: 115.6 kB / 0.7612 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6215, allocations: 156.8 kB / 0.7613 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6215, allocations: 0 / 0.7613 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003528/0.6219, allocations: 189.1 kB / 0.7615 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6219, allocations: 11.94 kB / 0.7615 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6219, allocations: 4.219 kB / 0.7615 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6219, allocations: 4 kB / 0.7615 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6221, allocations: 39.84 kB / 0.7615 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6221, allocations: 4 kB / 0.7616 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6223, allocations: 27.67 kB / 0.7616 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.6223, allocations: 12 kB / 0.7616 GB, free: 2.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.000121/0.6224, allocations: 142.4 kB / 0.7617 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.6225, allocations: 34.84 kB / 0.7618 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.6229, allocations: 131 kB / 0.7619 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6229, allocations: 4 kB / 0.7619 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6229, allocations: 0 / 0.7619 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6229, allocations: 4 kB / 0.7619 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.6237, allocations: 0.7729 MB / 0.7626 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6237, allocations: 4 kB / 0.7626 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6238, allocations: 27.91 kB / 0.7627 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6238, allocations: 4 kB / 0.7627 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.6238, allocations: 0 / 0.7627 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6239, allocations: 4 kB / 0.7627 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6239, allocations: 3.938 kB / 0.7627 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.6244, allocations: 348.5 kB / 0.763 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.6245, allocations: 104.8 kB / 0.7631 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.6245, allocations: 4 kB / 0.7631 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6246, allocations: 11.98 kB / 0.7631 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.6247, allocations: 17.8 kB / 0.7632 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6247, allocations: 4 kB / 0.7632 GB, free: 496 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000179/0.6249, allocations: 205.9 kB / 0.7634 GB, free: 292 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6249, allocations: 4 kB / 0.7634 GB, free: 288 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003281/0.6252, allocations: 59.97 kB / 0.7634 GB, free: 228 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003264/0.6256, allocations: 149.3 kB / 0.7636 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.6259, allocations: 120.2 kB / 0.7637 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6259, allocations: 0 / 0.7637 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.6261, allocations: 63.89 kB / 0.7637 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.6268, allocations: 118 kB / 0.7638 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.6276, allocations: 0.5709 MB / 0.7644 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.6279, allocations: 0.756 MB / 0.7651 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.628, allocations: 19.44 kB / 0.7652 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.628, allocations: 0 / 0.7652 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.005891/0.6339, allocations: 3.793 MB / 0.7689 GB, free: 10.65 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)