Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0011/0.0011, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001067/0.001067, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003078/0.3228, allocations: 2.125 MB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3241, allocations: 1.024 MB / 0.5846 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3242, allocations: 8.031 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.3243, allocations: 32.84 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3246, allocations: 82.11 kB / 0.5847 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.3249, allocations: 187.4 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3252, allocations: 289.5 kB / 0.5851 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3253, allocations: 65.33 kB / 0.5852 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3254, allocations: 110.7 kB / 0.5853 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3256, allocations: 144.6 kB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.3257, allocations: 20.59 kB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.326, allocations: 296.4 kB / 0.5858 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.3261, allocations: 51 kB / 0.5858 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.3262, allocations: 120.4 kB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3265, allocations: 326.8 kB / 0.5862 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3265, allocations: 0 / 0.5862 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3265, allocations: 0.7812 kB / 0.5862 GB, free: 23.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3265, allocations: 0 / 0.5862 GB, free: 23.97 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.0009528/0.3275, allocations: 0.6324 MB / 0.5869 GB, free: 23.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3275, allocations: 12.81 kB / 0.5869 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3278, allocations: 37.56 kB / 0.5869 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.328, allocations: 283.3 kB / 0.5872 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3281, allocations: 10.41 kB / 0.5872 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3281, allocations: 19.44 kB / 0.5872 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.3285, allocations: 233 kB / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3286, allocations: 0 / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3286, allocations: 6.781 kB / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3286, allocations: 2.469 kB / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.3292, allocations: 202.8 kB / 0.5876 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.3301, allocations: 0.9346 MB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.3308, allocations: 243.6 kB / 0.5888 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3311, allocations: 107.5 kB / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3311, allocations: 6.031 kB / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.3311, allocations: 37.3 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3311, allocations: 5.094 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001026/0.3322, allocations: 339.6 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3322, allocations: 79.39 kB / 0.5893 GB, free: 21.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3324, allocations: 267.2 kB / 0.5896 GB, free: 21.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3324, allocations: 26.83 kB / 0.5896 GB, free: 21.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3325, allocations: 156.5 kB / 0.5897 GB, free: 21.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3325, allocations: 59.31 kB / 0.5898 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.3326, allocations: 39.98 kB / 0.5898 GB, free: 21.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.3327, allocations: 337.3 kB / 0.5902 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.333, allocations: 94.44 kB / 0.5903 GB, free: 20.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.3333, allocations: 137 kB / 0.5904 GB, free: 20.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.3339, allocations: 243.2 kB / 0.5906 GB, free: 20.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3339, allocations: 3.938 kB / 0.5906 GB, free: 20.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007313/0.3346, allocations: 294.5 kB / 0.5909 GB, free: 20.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3346, allocations: 6.188 kB / 0.5909 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3346, allocations: 1.438 kB / 0.5909 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3347, allocations: 3.125 kB / 0.5909 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3349, allocations: 64.78 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3349, allocations: 5.75 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.3352, allocations: 35.81 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3352, allocations: 15.98 kB / 0.591 GB, free: 20.14 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 8.09e-05/0.3353, allocations: 138.9 kB / 0.5912 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3354, allocations: 24.47 kB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.3361, allocations: 298.2 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3361, allocations: 5.031 kB / 0.5915 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3361, allocations: 0 / 0.5915 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3361, allocations: 1.5 kB / 0.5915 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.3364, allocations: 289.4 kB / 0.5917 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3364, allocations: 4 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3366, allocations: 52.44 kB / 0.5918 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3366, allocations: 6.438 kB / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3366, allocations: 4 kB / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3366, allocations: 0.7031 kB / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3367, allocations: 4 kB / 0.5918 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.3373, allocations: 448 kB / 0.5922 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3374, allocations: 108.8 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3374, allocations: 4.938 kB / 0.5924 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3377, allocations: 29.34 kB / 0.5924 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.3377, allocations: 19.97 kB / 0.5924 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3378, allocations: 4.781 kB / 0.5924 GB, free: 18.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3379, allocations: 193.9 kB / 0.5926 GB, free: 18.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3379, allocations: 1.719 kB / 0.5926 GB, free: 18.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.3382, allocations: 56.09 kB / 0.5926 GB, free: 18.4 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.0001333/0.3383, allocations: 127.7 kB / 0.5928 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.339, allocations: 223.2 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.339, allocations: 1.469 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.3393, allocations: 117.5 kB / 0.5931 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3398, allocations: 76.48 kB / 0.5932 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.3404, allocations: 448.6 kB / 0.5936 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3405, allocations: 0.7524 MB / 0.5943 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3406, allocations: 30.67 kB / 0.5944 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3407, allocations: 19.44 kB / 0.5944 GB, free: 16.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3407, allocations: 3.281 kB / 0.5944 GB, free: 16.58 MB / 446.1 MB Notification: Performance of Templates: time 0.005913/0.3466, allocations: 3.94 MB / 0.5982 GB, free: 12.73 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)