Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8278/0.8278, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 184 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009587, allocations: 100.1 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 266.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.092e-05, allocations: 8 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4587, allocations: 82.79 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.6028, allocations: 109.9 MB / 0.8647 GB, free: 2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.6032, allocations: 87.83 kB / 0.8647 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.6194, allocations: 5.308 MB / 0.8699 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6195, allocations: 0 / 0.8699 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.6195, allocations: 0 / 0.8699 GB, free: 12.59 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006755/0.6202, allocations: 398.2 kB / 0.8703 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.6203, allocations: 12.03 kB / 0.8703 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.6205, allocations: 7.906 kB / 0.8703 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.6208, allocations: 194.8 kB / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6208, allocations: 3.938 kB / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6209, allocations: 4 kB / 0.8705 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/0.621, allocations: 20 kB / 0.8705 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.6211, allocations: 49.69 kB / 0.8706 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6212, allocations: 7.984 kB / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6212, allocations: 0 / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.6212, allocations: 3.984 kB / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.6218, allocations: 285.3 kB / 0.8709 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6219, allocations: 42.58 kB / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.622, allocations: 20.92 kB / 0.8709 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.622, allocations: 4 kB / 0.8709 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6221, allocations: 34.56 kB / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.6221, allocations: 0 / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002826/0.6224, allocations: 61.59 kB / 0.871 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.6224, allocations: 51.41 kB / 0.8711 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.6225, allocations: 123.6 kB / 0.8712 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.6226, allocations: 29.7 kB / 0.8712 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.6226, allocations: 92.12 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.6227, allocations: 23.66 kB / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6227, allocations: 0 / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6228, allocations: 318.8 kB / 0.8716 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.6228, allocations: 16 kB / 0.8717 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.6229, allocations: 12 kB / 0.8717 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.6229, allocations: 15.98 kB / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.623, allocations: 4 kB / 0.8717 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001602/0.6231, allocations: 65.69 kB / 0.8717 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6232, allocations: 4 kB / 0.8717 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6232, allocations: 0 / 0.8717 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6232, allocations: 0 / 0.8717 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.6233, allocations: 19.98 kB / 0.8718 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6233, allocations: 0 / 0.8718 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.6234, allocations: 7.906 kB / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.6234, allocations: 3.938 kB / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6235, allocations: 112.9 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.6236, allocations: 11.89 kB / 0.8719 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.6238, allocations: 78.33 kB / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.6239, allocations: 0 / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6239, allocations: 0 / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.6239, allocations: 4 kB / 0.872 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.6241, allocations: 158.1 kB / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.6241, allocations: 0 / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.6242, allocations: 23.94 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6242, allocations: 3.938 kB / 0.8722 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6242, allocations: 0 / 0.8722 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.6242, allocations: 3.938 kB / 0.8722 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.6243, allocations: 3.938 kB / 0.8722 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.6245, allocations: 167.5 kB / 0.8723 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.6246, allocations: 85 kB / 0.8724 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.6246, allocations: 3.953 kB / 0.8724 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.6247, allocations: 12 kB / 0.8724 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.6248, allocations: 3.984 kB / 0.8724 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.6248, allocations: 4 kB / 0.8724 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.6249, allocations: 93 kB / 0.8725 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6249, allocations: 4 kB / 0.8725 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002704/0.6252, allocations: 23.98 kB / 0.8725 GB, free: 9.633 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.6255, allocations: 111.3 kB / 0.8726 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.6256, allocations: 39.92 kB / 0.8727 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6256, allocations: 0 / 0.8727 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.6257, allocations: 20 kB / 0.8727 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.626, allocations: 4.562 kB / 0.8727 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.6264, allocations: 99.8 kB / 0.8728 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.6268, allocations: 0.7002 MB / 0.8735 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.6268, allocations: 192 / 0.8735 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.6269, allocations: 15.38 kB / 0.8735 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6269, allocations: 0 / 0.8735 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.004239/0.6311, allocations: 0.9229 MB / 0.8744 GB, free: 7.68 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)