Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001107/0.001107, allocations: 112.6 kB / 16.37 MB, free: 6 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.001121/0.001121, allocations: 196 kB / 17.31 MB, free: 5.613 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7662/0.7662, allocations: 135.1 MB / 426.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 0.5068 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3387, allocations: 80.9 MB / 0.5858 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003115/0.3419, allocations: 2.124 MB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3433, allocations: 1.027 MB / 0.5888 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3435, allocations: 3.406 kB / 0.5888 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.3436, allocations: 23.67 kB / 0.5889 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.3439, allocations: 89.53 kB / 0.589 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.3442, allocations: 186.8 kB / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.3445, allocations: 297.8 kB / 0.5894 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3447, allocations: 63.48 kB / 0.5895 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.3448, allocations: 107.5 kB / 0.5896 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.345, allocations: 144.8 kB / 0.5897 GB, free: 22.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.345, allocations: 16 kB / 0.5897 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.3453, allocations: 299.6 kB / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.68e-05/0.3454, allocations: 46 kB / 0.5901 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.3455, allocations: 119.3 kB / 0.5902 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3458, allocations: 336.5 kB / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3458, allocations: 0 / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3458, allocations: 0 / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3458, allocations: 0 / 0.5905 GB, free: 21.71 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.0008871/0.3467, allocations: 0.6279 MB / 0.5911 GB, free: 21.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3467, allocations: 13.11 kB / 0.5911 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.347, allocations: 41.06 kB / 0.5912 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3473, allocations: 288.9 kB / 0.5914 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3473, allocations: 13.22 kB / 0.5914 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3473, allocations: 17 kB / 0.5915 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.3478, allocations: 228.2 kB / 0.5917 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3478, allocations: 1.094 kB / 0.5917 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3478, allocations: 11.98 kB / 0.5917 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3478, allocations: 4 kB / 0.5917 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.3484, allocations: 195.2 kB / 0.5919 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.3492, allocations: 0.9357 MB / 0.5928 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.3499, allocations: 245.7 kB / 0.593 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3502, allocations: 112.8 kB / 0.5931 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3502, allocations: 3.984 kB / 0.5931 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3502, allocations: 38.56 kB / 0.5932 GB, free: 18.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3502, allocations: 0 / 0.5932 GB, free: 18.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009538/0.3512, allocations: 341.7 kB / 0.5935 GB, free: 18.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3512, allocations: 83.36 kB / 0.5936 GB, free: 18.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3514, allocations: 274.9 kB / 0.5938 GB, free: 18.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3515, allocations: 29.7 kB / 0.5939 GB, free: 18.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3515, allocations: 152.2 kB / 0.594 GB, free: 17.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3516, allocations: 60.47 kB / 0.5941 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.3516, allocations: 33.72 kB / 0.5941 GB, free: 17.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.3517, allocations: 343.5 kB / 0.5944 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.352, allocations: 86.58 kB / 0.5945 GB, free: 17.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.3522, allocations: 148.7 kB / 0.5947 GB, free: 17.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.3528, allocations: 239.3 kB / 0.5949 GB, free: 16.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3528, allocations: 3.938 kB / 0.5949 GB, free: 16.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006538/0.3534, allocations: 296.2 kB / 0.5952 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3535, allocations: 10.59 kB / 0.5952 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3535, allocations: 4 kB / 0.5952 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3535, allocations: 0 / 0.5952 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.3538, allocations: 59.95 kB / 0.5953 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3538, allocations: 4 kB / 0.5953 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.354, allocations: 44.95 kB / 0.5953 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.354, allocations: 8 kB / 0.5953 GB, free: 16.53 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.797e-05/0.3541, allocations: 134.9 kB / 0.5954 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.3542, allocations: 23.72 kB / 0.5955 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.3549, allocations: 291 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3549, allocations: 5 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3549, allocations: 0 / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3549, allocations: 1.062 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3552, allocations: 293.3 kB / 0.596 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3552, allocations: 0 / 0.596 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3554, allocations: 60.86 kB / 0.5961 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3554, allocations: 2.406 kB / 0.5961 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3555, allocations: 4 kB / 0.5961 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3555, allocations: 0 / 0.5961 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3555, allocations: 4 kB / 0.5961 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.3562, allocations: 458.7 kB / 0.5965 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3562, allocations: 100.8 kB / 0.5966 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3563, allocations: 4 kB / 0.5966 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3565, allocations: 26.12 kB / 0.5966 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.3566, allocations: 16.25 kB / 0.5967 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3566, allocations: 15.94 kB / 0.5967 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3568, allocations: 186 kB / 0.5969 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3568, allocations: 4.719 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.3571, allocations: 60.09 kB / 0.5969 GB, free: 14.79 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.0002014/0.3573, allocations: 124.9 kB / 0.597 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.358, allocations: 222.9 kB / 0.5973 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.358, allocations: 0 / 0.5973 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.3583, allocations: 113.7 kB / 0.5974 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3588, allocations: 85.84 kB / 0.5974 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.3595, allocations: 449 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3596, allocations: 0.7552 MB / 0.5986 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.3598, allocations: 25.52 kB / 0.5986 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.3598, allocations: 26.92 kB / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3598, allocations: 0 / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006296/0.3661, allocations: 3.93 MB / 0.6025 GB, free: 9.113 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)