Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001428/0.001428, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.0016/0.0016, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9623/0.9623, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 96.23 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4354, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.0034/0.4389, allocations: 2.112 MB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4406, allocations: 1.029 MB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4407, allocations: 8 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.4408, allocations: 27.66 kB / 0.7702 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.4411, allocations: 79.23 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.4416, allocations: 189.6 kB / 0.7704 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.442, allocations: 302.7 kB / 0.7707 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4421, allocations: 64.36 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.4423, allocations: 115.5 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.4425, allocations: 139.4 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.4426, allocations: 20 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.443, allocations: 295.6 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.443, allocations: 43.83 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4431, allocations: 127.3 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.4435, allocations: 333.3 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4435, allocations: 4 kB / 0.7718 GB, free: 15.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4435, allocations: 0 / 0.7718 GB, free: 15.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.4436, allocations: 0 / 0.7718 GB, free: 15.01 MB / 0.545 GB 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.0011/0.4447, allocations: 0.6232 MB / 0.7724 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4447, allocations: 8.031 kB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.4449, allocations: 36.56 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.4453, allocations: 283.5 kB / 0.7727 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4454, allocations: 20.66 kB / 0.7728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.4454, allocations: 12.38 kB / 0.7728 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.446, allocations: 236.9 kB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.446, allocations: 0 / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.446, allocations: 8 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.446, allocations: 4 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.4467, allocations: 195.8 kB / 0.7732 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4479, allocations: 0.9423 MB / 0.7741 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.4486, allocations: 241.2 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.449, allocations: 101.6 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.449, allocations: 11.92 kB / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.449, allocations: 38.5 kB / 0.7745 GB, free: 12.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.4491, allocations: 0 / 0.7745 GB, free: 12.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001181/0.4502, allocations: 329.5 kB / 0.7748 GB, free: 11.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4503, allocations: 85.05 kB / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.4506, allocations: 266.9 kB / 0.7751 GB, free: 11.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4506, allocations: 33.7 kB / 0.7752 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4507, allocations: 156.1 kB / 0.7753 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.4508, allocations: 59.25 kB / 0.7754 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.4508, allocations: 37.7 kB / 0.7754 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.451, allocations: 342.8 kB / 0.7757 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.4513, allocations: 87.91 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4517, allocations: 148.7 kB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.4523, allocations: 241.7 kB / 0.7762 GB, free: 10.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4524, allocations: 4 kB / 0.7762 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008319/0.4532, allocations: 293.8 kB / 0.7765 GB, free: 9.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4532, allocations: 11.98 kB / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4532, allocations: 4 kB / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4533, allocations: 0 / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.4535, allocations: 59.95 kB / 0.7765 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4536, allocations: 12 kB / 0.7766 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.4538, allocations: 43.7 kB / 0.7766 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4538, allocations: 8 kB / 0.7766 GB, free: 9.789 MB / 0.545 GB 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.0001176/0.454, allocations: 133.8 kB / 0.7767 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4541, allocations: 27.66 kB / 0.7768 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.4549, allocations: 287.3 kB / 0.777 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4549, allocations: 96 / 0.777 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4549, allocations: 3.938 kB / 0.777 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.455, allocations: 112.7 kB / 0.7771 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.455, allocations: 4 kB / 0.7771 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.4553, allocations: 23.97 kB / 0.7772 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.4554, allocations: 31.89 kB / 0.7772 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009191/0.4563, allocations: 427.9 kB / 0.7776 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008555/0.4572, allocations: 0.5093 MB / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003487/0.4576, allocations: 107.9 kB / 0.7782 GB, free: 8.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001537/0.4577, allocations: 190 kB / 0.7784 GB, free: 7.898 MB / 0.545 GB Notification: Performance of Backend: time 5.41e-07/0.4577, allocations: 0 / 0.7784 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.4587, allocations: 256.3 kB / 0.7786 GB, free: 7.645 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009105/0.4596, allocations: 0.876 MB / 0.7795 GB, free: 6.715 MB / 0.545 GB Notification: Performance of Templates: time 0.008185/0.4678, allocations: 4.867 MB / 0.7842 GB, free: 1.918 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)