Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 87.59 kB / 16.66 MB, free: 6.113 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.0009093/0.0009095, allocations: 183.2 kB / 17.57 MB, free: 5.828 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.397/1.397, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7459/0.7459, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003449, allocations: 12 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4144, allocations: 77.52 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002093/0.4165, allocations: 1.807 MB / 0.5624 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.4183, allocations: 1.05 MB / 0.5634 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.4185, allocations: 3 kB / 0.5634 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.4185, allocations: 17.44 kB / 0.5634 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.4188, allocations: 69.55 kB / 0.5635 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.4193, allocations: 137.2 kB / 0.5636 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.4196, allocations: 284.7 kB / 0.5639 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.4198, allocations: 63.8 kB / 0.5639 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.4199, allocations: 93.8 kB / 0.564 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.4202, allocations: 131.4 kB / 0.5641 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.4202, allocations: 7.812 kB / 0.5641 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.4207, allocations: 288.6 kB / 0.5644 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.4207, allocations: 39.62 kB / 0.5645 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4208, allocations: 129.6 kB / 0.5646 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.4211, allocations: 220.7 kB / 0.5648 GB, free: 33.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4211, allocations: 0 / 0.5648 GB, free: 33.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4212, allocations: 0 / 0.5648 GB, free: 33.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4212, allocations: 0 / 0.5648 GB, free: 33.56 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001005/0.4222, allocations: 0.61 MB / 0.5654 GB, free: 33.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4222, allocations: 13.38 kB / 0.5654 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.4225, allocations: 39.25 kB / 0.5654 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.4227, allocations: 278.4 kB / 0.5657 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4228, allocations: 10.97 kB / 0.5657 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.4228, allocations: 14.77 kB / 0.5657 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.4234, allocations: 253.8 kB / 0.566 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4234, allocations: 1.156 kB / 0.566 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.4234, allocations: 6.688 kB / 0.566 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4235, allocations: 4.406 kB / 0.566 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.4242, allocations: 241.1 kB / 0.5662 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4253, allocations: 0.9486 MB / 0.5671 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.4262, allocations: 268.7 kB / 0.5674 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.4265, allocations: 126.8 kB / 0.5675 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4266, allocations: 8.531 kB / 0.5675 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4266, allocations: 32.45 kB / 0.5676 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.4266, allocations: 3.938 kB / 0.5676 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001276/0.4279, allocations: 402.4 kB / 0.5679 GB, free: 31.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.4279, allocations: 85.09 kB / 0.568 GB, free: 31.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4282, allocations: 266.1 kB / 0.5683 GB, free: 31.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.4282, allocations: 30.83 kB / 0.5683 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.4283, allocations: 154.7 kB / 0.5685 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4284, allocations: 54.3 kB / 0.5685 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.4284, allocations: 26.39 kB / 0.5685 GB, free: 31.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.4285, allocations: 338.8 kB / 0.5689 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.4289, allocations: 111 kB / 0.569 GB, free: 30.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.4293, allocations: 161.7 kB / 0.5691 GB, free: 30.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.43, allocations: 289.2 kB / 0.5694 GB, free: 30.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.43, allocations: 1.031 kB / 0.5694 GB, free: 30.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009268/0.431, allocations: 345.1 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.431, allocations: 7.156 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.431, allocations: 0.9688 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.431, allocations: 3.312 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.4313, allocations: 73.11 kB / 0.5698 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4314, allocations: 7.266 kB / 0.5698 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.4316, allocations: 48.7 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4317, allocations: 8.047 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001101/0.4318, allocations: 131.1 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4319, allocations: 28.53 kB / 0.57 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009002/0.4328, allocations: 341.5 kB / 0.5703 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4328, allocations: 3.469 kB / 0.5703 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4328, allocations: 0 / 0.5703 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4328, allocations: 6.578 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.4332, allocations: 291.3 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4332, allocations: 3.938 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.4335, allocations: 64.78 kB / 0.5707 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4335, allocations: 2.594 kB / 0.5707 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4336, allocations: 4.844 kB / 0.5707 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4336, allocations: 10.14 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4336, allocations: 1.125 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.4345, allocations: 487.2 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.4345, allocations: 105.5 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.4346, allocations: 5.578 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.4349, allocations: 40.86 kB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.4349, allocations: 18.67 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.435, allocations: 5.203 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.4352, allocations: 189.6 kB / 0.5715 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4352, allocations: 0 / 0.5715 GB, free: 29.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00039/0.4356, allocations: 60.2 kB / 0.5716 GB, free: 29.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001844/0.4357, allocations: 122.5 kB / 0.5717 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.4366, allocations: 267.2 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4366, allocations: 1.469 kB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.437, allocations: 138.8 kB / 0.5721 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.4376, allocations: 72.86 kB / 0.5722 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.4385, allocations: 0.5607 MB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.4387, allocations: 0.7505 MB / 0.5734 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.4388, allocations: 22.28 kB / 0.5735 GB, free: 28.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4388, allocations: 1.062 kB / 0.5735 GB, free: 28.04 MB / 446.1 MB Notification: Performance of Templates: time 0.006972/0.4458, allocations: 3.416 MB / 0.5768 GB, free: 27.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)