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.006115/0.006115, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001314/0.001314, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002087, allocations: 293.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 95.86 kB / 0.6815 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4604, allocations: 86.99 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003041/0.4635, allocations: 2.104 MB / 0.7685 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4651, allocations: 1.041 MB / 0.7695 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4652, allocations: 7.938 kB / 0.7695 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.911e-05/0.4653, allocations: 23.67 kB / 0.7695 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.4656, allocations: 79.27 kB / 0.7696 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.466, allocations: 195.5 kB / 0.7698 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.4663, allocations: 286.8 kB / 0.77 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.4665, allocations: 84.22 kB / 0.7701 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4666, allocations: 107.6 kB / 0.7702 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.4669, allocations: 143.3 kB / 0.7704 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.4669, allocations: 16 kB / 0.7704 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.4673, allocations: 299.6 kB / 0.7707 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.4674, allocations: 47.83 kB / 0.7707 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4675, allocations: 123.3 kB / 0.7708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.4678, allocations: 333.4 kB / 0.7711 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4679, allocations: 4 kB / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4679, allocations: 3.938 kB / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.4679, allocations: 0 / 0.7711 GB, free: 15.07 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.001055/0.4689, allocations: 0.6193 MB / 0.7718 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.469, allocations: 8.031 kB / 0.7718 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.4692, allocations: 40.55 kB / 0.7718 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4696, allocations: 287.5 kB / 0.7721 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4696, allocations: 8.656 kB / 0.7721 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4697, allocations: 16.38 kB / 0.7721 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.4702, allocations: 237 kB / 0.7723 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4702, allocations: 3.938 kB / 0.7723 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.4702, allocations: 4 kB / 0.7723 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.4702, allocations: 4 kB / 0.7723 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.4709, allocations: 195.8 kB / 0.7725 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.472, allocations: 0.9423 MB / 0.7734 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.4727, allocations: 241.2 kB / 0.7737 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.473, allocations: 101.6 kB / 0.7738 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4731, allocations: 15.94 kB / 0.7738 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4731, allocations: 30.56 kB / 0.7738 GB, free: 12.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.4731, allocations: 0 / 0.7738 GB, free: 12.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001176/0.4743, allocations: 341.4 kB / 0.7741 GB, free: 11.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.4743, allocations: 77.11 kB / 0.7742 GB, free: 11.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.4746, allocations: 266.9 kB / 0.7745 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.4747, allocations: 25.7 kB / 0.7745 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.4748, allocations: 168.1 kB / 0.7746 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.4748, allocations: 55.25 kB / 0.7747 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.4749, allocations: 41.7 kB / 0.7747 GB, free: 11.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.475, allocations: 334.8 kB / 0.7751 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.4753, allocations: 95.84 kB / 0.7752 GB, free: 10.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.4757, allocations: 144.7 kB / 0.7753 GB, free: 10.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.4763, allocations: 237.7 kB / 0.7755 GB, free: 10.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4764, allocations: 0 / 0.7755 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007948/0.4772, allocations: 297 kB / 0.7758 GB, free: 9.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4772, allocations: 8 kB / 0.7758 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4772, allocations: 0 / 0.7758 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4772, allocations: 4 kB / 0.7758 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.4775, allocations: 63.88 kB / 0.7759 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.4775, allocations: 0 / 0.7759 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4777, allocations: 43.84 kB / 0.7759 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4778, allocations: 12 kB / 0.7759 GB, free: 9.863 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.0001205/0.4779, allocations: 136.1 kB / 0.7761 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.478, allocations: 31.66 kB / 0.7761 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.4788, allocations: 291.8 kB / 0.7764 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.4788, allocations: 0 / 0.7764 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4788, allocations: 0 / 0.7764 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4788, allocations: 7.984 kB / 0.7764 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.4792, allocations: 293.3 kB / 0.7767 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4792, allocations: 12.2 kB / 0.7767 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.4795, allocations: 55.95 kB / 0.7767 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4795, allocations: 0 / 0.7767 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4795, allocations: 7.938 kB / 0.7767 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.4795, allocations: 7.938 kB / 0.7767 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4795, allocations: 0 / 0.7767 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.4803, allocations: 434.3 kB / 0.7771 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.4804, allocations: 108.7 kB / 0.7772 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.4804, allocations: 4 kB / 0.7773 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.4807, allocations: 27.95 kB / 0.7773 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.4808, allocations: 19.98 kB / 0.7773 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4808, allocations: 4 kB / 0.7773 GB, free: 8.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001604/0.4809, allocations: 193.9 kB / 0.7775 GB, free: 8.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.481, allocations: 0 / 0.7775 GB, free: 8.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003388/0.4813, allocations: 59.92 kB / 0.7775 GB, free: 8.105 MB / 0.545 GB 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.0001852/0.4815, allocations: 115.5 kB / 0.7777 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000745/0.4822, allocations: 231.6 kB / 0.7779 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4823, allocations: 4 kB / 0.7779 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4826, allocations: 124.1 kB / 0.778 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.4831, allocations: 72.53 kB / 0.7781 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.4839, allocations: 430.8 kB / 0.7785 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4842, allocations: 0.748 MB / 0.7792 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.4843, allocations: 34.42 kB / 0.7792 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4844, allocations: 27.44 kB / 0.7793 GB, free: 6.273 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4844, allocations: 4 kB / 0.7793 GB, free: 6.27 MB / 0.545 GB Notification: Performance of Templates: time 0.007315/0.4917, allocations: 3.97 MB / 0.7831 GB, free: 2.371 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)