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.7726/0.7726, allocations: 143.4 MB / 159.2 MB, free: 4.906 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.001403/0.001403, allocations: 179.1 kB / 191.9 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 447.3 MB, free: 5.855 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.0009613/0.0009613, allocations: 107.1 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 275.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 87.86 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3192, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002364/0.3216, allocations: 1.636 MB / 0.7695 GB, free: 26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3227, allocations: 0.9234 MB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.3228, allocations: 4 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.3229, allocations: 3.984 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.323, allocations: 23.78 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3233, allocations: 95.83 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3234, allocations: 67.66 kB / 0.7706 GB, free: 24.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.3235, allocations: 16 kB / 0.7706 GB, free: 24.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.3235, allocations: 31.91 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3236, allocations: 35.84 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3237, allocations: 3.938 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.324, allocations: 283.6 kB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.324, allocations: 3.938 kB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.324, allocations: 35.8 kB / 0.771 GB, free: 24.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3242, allocations: 150.3 kB / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3242, allocations: 0 / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3242, allocations: 0 / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.3242, allocations: 0 / 0.7711 GB, free: 24.34 MB / 458.7 MB 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.0004262/0.3247, allocations: 415.2 kB / 0.7715 GB, free: 23.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3247, allocations: 8.031 kB / 0.7716 GB, free: 23.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3248, allocations: 12.84 kB / 0.7716 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3249, allocations: 188.1 kB / 0.7717 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.325, allocations: 12.36 kB / 0.7718 GB, free: 23.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.325, allocations: 384 / 0.7718 GB, free: 23.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3251, allocations: 65.98 kB / 0.7718 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3252, allocations: 0 / 0.7718 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3252, allocations: 0 / 0.7718 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3252, allocations: 0 / 0.7718 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3253, allocations: 47.89 kB / 0.7719 GB, free: 23.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3257, allocations: 304.7 kB / 0.7722 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3258, allocations: 54.48 kB / 0.7722 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.3259, allocations: 28.97 kB / 0.7722 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3259, allocations: 8 kB / 0.7722 GB, free: 23.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.326, allocations: 34.5 kB / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.326, allocations: 0 / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.000317/0.3263, allocations: 113.5 kB / 0.7724 GB, free: 22.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.3263, allocations: 51.41 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.3264, allocations: 131.4 kB / 0.7726 GB, free: 22.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.3264, allocations: 25.7 kB / 0.7726 GB, free: 22.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.3264, allocations: 100.1 kB / 0.7727 GB, free: 22.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.3265, allocations: 15.8 kB / 0.7727 GB, free: 22.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3265, allocations: 21.72 kB / 0.7727 GB, free: 22.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.3265, allocations: 318.8 kB / 0.773 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.3266, allocations: 23.98 kB / 0.773 GB, free: 22.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.3267, allocations: 23.92 kB / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3268, allocations: 56.83 kB / 0.7731 GB, free: 22.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3268, allocations: 0 / 0.7731 GB, free: 22.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001858/0.327, allocations: 85.58 kB / 0.7732 GB, free: 22.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3271, allocations: 13.39 kB / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3271, allocations: 0 / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3271, allocations: 0 / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3272, allocations: 15.98 kB / 0.7732 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3272, allocations: 4 kB / 0.7732 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.3273, allocations: 4 kB / 0.7732 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3273, allocations: 4 kB / 0.7732 GB, free: 21.97 MB / 458.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.3273, allocations: 123.8 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.3274, allocations: 7.906 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.3276, allocations: 93.95 kB / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3276, allocations: 0 / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3276, allocations: 0 / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3276, allocations: 4 kB / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3278, allocations: 193.9 kB / 0.7736 GB, free: 21.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3278, allocations: 3.984 kB / 0.7736 GB, free: 21.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.3279, allocations: 15.94 kB / 0.7737 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3279, allocations: 7.938 kB / 0.7737 GB, free: 21.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3279, allocations: 7.984 kB / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3279, allocations: 3.938 kB / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3279, allocations: 0 / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.3283, allocations: 0.7629 MB / 0.7744 GB, free: 20.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.3283, allocations: 85.02 kB / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3283, allocations: 0 / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.3284, allocations: 11.94 kB / 0.7745 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3284, allocations: 3.984 kB / 0.7745 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3285, allocations: 4 kB / 0.7745 GB, free: 20.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.3285, allocations: 104.7 kB / 0.7746 GB, free: 20.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3285, allocations: 0 / 0.7746 GB, free: 20.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.3288, allocations: 20 kB / 0.7746 GB, free: 20.39 MB / 458.7 MB 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 () * Number of clocked 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 (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.0001392/0.329, allocations: 111.2 kB / 0.7748 GB, free: 20.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3292, allocations: 55.91 kB / 0.7748 GB, free: 20.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3292, allocations: 4 kB / 0.7748 GB, free: 20.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.3293, allocations: 35.97 kB / 0.7748 GB, free: 20.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3296, allocations: 5.875 kB / 0.7748 GB, free: 20.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.33, allocations: 336.9 kB / 0.7752 GB, free: 19.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.3301, allocations: 0.6887 MB / 0.7758 GB, free: 19.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.3301, allocations: 11.97 kB / 0.7759 GB, free: 19.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3302, allocations: 15.38 kB / 0.7759 GB, free: 19.07 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3302, allocations: 0 / 0.7759 GB, free: 19.07 MB / 458.7 MB Notification: Performance of Templates: time 0.002724/0.3329, allocations: 1.044 MB / 0.7769 GB, free: 18.04 MB / 458.7 MB 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)