Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.00148, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7895/0.7895, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008533, allocations: 95.03 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.404e-05, allocations: 2.969 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1871, allocations: 82.3 MB / 0.6404 GB, free: 7.797 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7541/0.9413, allocations: 113.2 MB / 0.751 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.9416, allocations: 85.67 kB / 0.751 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01415/0.9557, allocations: 5.327 MB / 0.7562 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9558, allocations: 3.656 kB / 0.7562 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9558, allocations: 0 / 0.7562 GB, free: 27.2 MB / 0.5105 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.0004464/0.9563, allocations: 398.2 kB / 0.7566 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.9563, allocations: 11.44 kB / 0.7566 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.9564, allocations: 7.812 kB / 0.7566 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.9566, allocations: 197.7 kB / 0.7568 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9567, allocations: 4.844 kB / 0.7568 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9567, allocations: 1.562 kB / 0.7568 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.9568, allocations: 49.95 kB / 0.7569 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.9568, allocations: 0 / 0.7569 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.9569, allocations: 5.188 kB / 0.7569 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9569, allocations: 0 / 0.7569 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.957, allocations: 30.98 kB / 0.7569 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.9574, allocations: 311.6 kB / 0.7572 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.9575, allocations: 47.81 kB / 0.7573 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.9576, allocations: 16.55 kB / 0.7573 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.9576, allocations: 7.891 kB / 0.7573 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.9576, allocations: 37.94 kB / 0.7573 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 2.234e-06/0.9576, allocations: 0 / 0.7573 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001995/0.9578, allocations: 70.94 kB / 0.7574 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.9579, allocations: 55.36 kB / 0.7574 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.958, allocations: 118.8 kB / 0.7576 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.958, allocations: 25.7 kB / 0.7576 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.9581, allocations: 95.14 kB / 0.7577 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.9581, allocations: 19.05 kB / 0.7577 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.9581, allocations: 7.938 kB / 0.7577 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.9582, allocations: 317.9 kB / 0.758 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.9582, allocations: 19.45 kB / 0.758 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.9583, allocations: 11.03 kB / 0.758 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.9583, allocations: 15.34 kB / 0.758 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9583, allocations: 0 / 0.758 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001181/0.9584, allocations: 78.94 kB / 0.7581 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9585, allocations: 3.906 kB / 0.7581 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9585, allocations: 3.719 kB / 0.7581 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.9585, allocations: 0 / 0.7581 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.9586, allocations: 19.45 kB / 0.7581 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9586, allocations: 0 / 0.7581 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.9587, allocations: 15.75 kB / 0.7582 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.9587, allocations: 0 / 0.7582 GB, free: 25.43 MB / 0.5105 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 7.005e-05/0.9588, allocations: 103.9 kB / 0.7583 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.9588, allocations: 7.594 kB / 0.7583 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.959, allocations: 87.7 kB / 0.7584 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.959, allocations: 0 / 0.7584 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.959, allocations: 3.984 kB / 0.7584 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.959, allocations: 0 / 0.7584 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.9592, allocations: 190.4 kB / 0.7585 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9592, allocations: 320 / 0.7585 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.9593, allocations: 19.61 kB / 0.7586 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9593, allocations: 0 / 0.7586 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.9593, allocations: 0 / 0.7586 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.9593, allocations: 0 / 0.7586 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9593, allocations: 4 kB / 0.7586 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.9595, allocations: 176.5 kB / 0.7587 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.9595, allocations: 81.02 kB / 0.7588 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.9595, allocations: 3.984 kB / 0.7588 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.9596, allocations: 11.59 kB / 0.7588 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.9597, allocations: 3.984 kB / 0.7588 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.9597, allocations: 3.781 kB / 0.7588 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.9597, allocations: 99.09 kB / 0.7589 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9598, allocations: 0 / 0.7589 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002172/0.96, allocations: 27.33 kB / 0.7589 GB, free: 24.71 MB / 0.5105 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.0001644/0.9601, allocations: 121.6 kB / 0.7591 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.9603, allocations: 41.39 kB / 0.7591 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9603, allocations: 0 / 0.7591 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.9603, allocations: 19.09 kB / 0.7591 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.9605, allocations: 27 kB / 0.7591 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.9608, allocations: 99.03 kB / 0.7592 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.961, allocations: 0.696 MB / 0.7599 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.9611, allocations: 8.062 kB / 0.7599 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.9611, allocations: 11.16 kB / 0.7599 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.9611, allocations: 0 / 0.7599 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.002864/0.964, allocations: 0.9631 MB / 0.7609 GB, free: 23.32 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)