Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8309/0.8309, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009117/0.0009117, allocations: 99.02 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.112e-05, allocations: 0 / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5598, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.586, allocations: 2.128 GB / 2.762 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/6.586, allocations: 86.39 kB / 2.762 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.029/9.615, allocations: 0.7892 GB / 3.551 GB, free: 108.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/9.615, allocations: 0 / 3.551 GB, free: 108.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.473e-05/9.615, allocations: 30.7 kB / 3.551 GB, free: 108.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004091/9.619, allocations: 1.567 MB / 3.553 GB, free: 107.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/9.619, allocations: 9.406 kB / 3.553 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/9.621, allocations: 442.1 kB / 3.553 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/9.624, allocations: 1.041 MB / 3.554 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/9.624, allocations: 162.2 kB / 3.554 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/9.624, allocations: 43.56 kB / 3.554 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/9.625, allocations: 0.7338 MB / 3.555 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/9.627, allocations: 0.8345 MB / 3.556 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/9.627, allocations: 3.562 kB / 3.556 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/9.627, allocations: 3.953 kB / 3.556 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/9.627, allocations: 39.38 kB / 3.556 GB, free: 106.9 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005893/9.633, allocations: 4.057 MB / 3.56 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/9.633, allocations: 0.5302 MB / 3.56 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/9.634, allocations: 325 kB / 3.561 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/9.635, allocations: 0.6375 MB / 3.561 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/9.635, allocations: 448 kB / 3.562 GB, free: 104.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.776e-06/9.635, allocations: 0 / 3.562 GB, free: 104.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.001547/9.637, allocations: 0.7161 MB / 3.562 GB, free: 104.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/9.637, allocations: 86.61 kB / 3.563 GB, free: 104.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/9.637, allocations: 0.5612 MB / 3.563 GB, free: 104.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/9.637, allocations: 28.67 kB / 3.563 GB, free: 104.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/9.638, allocations: 448 kB / 3.564 GB, free: 103.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/9.638, allocations: 186.8 kB / 3.564 GB, free: 103.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/9.638, allocations: 3.344 kB / 3.564 GB, free: 103.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/9.638, allocations: 332.8 kB / 3.564 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/9.638, allocations: 258.3 kB / 3.564 GB, free: 103.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/9.639, allocations: 412.5 kB / 3.565 GB, free: 103.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/9.639, allocations: 316.5 kB / 3.565 GB, free: 103.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/9.64, allocations: 0 / 3.565 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001321/9.641, allocations: 0.7619 MB / 3.566 GB, free: 103.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002755/9.641, allocations: 0.8993 MB / 3.567 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/9.641, allocations: 7.266 kB / 3.567 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/9.641, allocations: 7.734 kB / 3.567 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/9.643, allocations: 245.6 kB / 3.567 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006199/9.643, allocations: 1.212 MB / 3.568 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/9.644, allocations: 164.9 kB / 3.568 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/9.644, allocations: 41.25 kB / 3.568 GB, free: 101.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/9.644, allocations: 8.734 kB / 3.568 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/9.646, allocations: 0.646 MB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/9.646, allocations: 3.812 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/9.646, allocations: 3.781 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/9.647, allocations: 226.1 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/9.647, allocations: 10.94 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/9.648, allocations: 158.9 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/9.648, allocations: 39.94 kB / 3.569 GB, free: 101.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002235/9.648, allocations: 118.3 kB / 3.569 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001175/9.649, allocations: 0.69 MB / 3.57 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/9.649, allocations: 89.91 kB / 3.57 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/9.651, allocations: 0.8258 MB / 3.571 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/9.651, allocations: 7 kB / 3.571 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/9.651, allocations: 0 / 3.571 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/9.651, allocations: 7.266 kB / 3.571 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/9.654, allocations: 1.914 MB / 3.573 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/9.654, allocations: 3.438 kB / 3.573 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/9.655, allocations: 232.1 kB / 3.573 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/9.655, allocations: 3.75 kB / 3.573 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/9.655, allocations: 22.59 kB / 3.573 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003916/9.656, allocations: 1.183 MB / 3.574 GB, free: 99.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/9.656, allocations: 6.594 kB / 3.574 GB, free: 99.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/9.657, allocations: 1.047 MB / 3.575 GB, free: 98.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/9.657, allocations: 284.7 kB / 3.576 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/9.658, allocations: 7.453 kB / 3.576 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/9.659, allocations: 144.7 kB / 3.576 GB, free: 98.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/9.659, allocations: 61.45 kB / 3.576 GB, free: 98.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/9.659, allocations: 39.86 kB / 3.576 GB, free: 98.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005071/9.659, allocations: 441.1 kB / 3.576 GB, free: 98.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/9.659, allocations: 0 / 3.576 GB, free: 98.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001786/9.661, allocations: 0.5934 MB / 3.577 GB, free: 98.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004137/9.665, allocations: 4.095 MB / 3.581 GB, free: 96.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002088/9.667, allocations: 1.16 MB / 3.582 GB, free: 96.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.667, allocations: 3.219 kB / 3.582 GB, free: 96.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/9.668, allocations: 401.4 kB / 3.582 GB, free: 96.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/9.67, allocations: 355.6 kB / 3.583 GB, free: 96.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/9.673, allocations: 1.497 MB / 3.584 GB, free: 95.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/9.674, allocations: 1.07 MB / 3.585 GB, free: 95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001466/9.675, allocations: 322.3 kB / 3.585 GB, free: 94.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/9.676, allocations: 346.7 kB / 3.586 GB, free: 94.98 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/9.676, allocations: 2.125 kB / 3.586 GB, free: 94.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06511/9.741, allocations: 35.4 MB / 3.62 GB, free: 93.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/9.741, allocations: 173 kB / 3.621 GB, free: 92.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/13.15, allocations: 1.188 kB / 3.621 GB, free: 92.98 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)