Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_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.001709/0.00171, 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.7675/0.7675, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.606/1.606, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009896/0.0009894, allocations: 100.8 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.77e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 82.31 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.321, allocations: 2.129 GB / 2.769 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/6.321, allocations: 83.95 kB / 2.769 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.142/9.463, allocations: 0.7963 GB / 3.565 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/9.463, allocations: 0 / 3.565 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001406/9.463, allocations: 35.92 kB / 3.566 GB, free: 32.35 MB / 0.6823 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.00524/9.468, allocations: 1.563 MB / 3.567 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/9.468, allocations: 12.03 kB / 3.567 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002966/9.469, allocations: 122.5 kB / 3.567 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/9.471, allocations: 438.1 kB / 3.568 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/9.474, allocations: 1.054 MB / 3.569 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006059/9.474, allocations: 189.9 kB / 3.569 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/9.475, allocations: 71.98 kB / 3.569 GB, free: 28.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/9.476, allocations: 0.9208 MB / 3.57 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/9.476, allocations: 4 kB / 3.57 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/9.477, allocations: 24 kB / 3.57 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/9.477, allocations: 37.98 kB / 3.57 GB, free: 27.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/9.478, allocations: 0.8161 MB / 3.571 GB, free: 26.98 MB / 0.6823 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.007415/9.485, allocations: 4.234 MB / 3.575 GB, free: 22.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/9.486, allocations: 0.5409 MB / 3.575 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/9.487, allocations: 344.2 kB / 3.576 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/9.488, allocations: 0.637 MB / 3.576 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/9.488, allocations: 461.8 kB / 3.577 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.935e-06/9.488, allocations: 0 / 3.577 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001412/9.49, allocations: 0.7047 MB / 3.577 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/9.49, allocations: 89.62 kB / 3.577 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/9.491, allocations: 0.7218 MB / 3.578 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/9.491, allocations: 41.7 kB / 3.578 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/9.491, allocations: 432.4 kB / 3.579 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/9.491, allocations: 197.1 kB / 3.579 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/9.491, allocations: 12 kB / 3.579 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/9.491, allocations: 330 kB / 3.579 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/9.492, allocations: 261 kB / 3.579 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/9.492, allocations: 430.2 kB / 3.58 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/9.493, allocations: 312.8 kB / 3.58 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/9.493, allocations: 112 / 3.58 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001237/9.494, allocations: 0.7806 MB / 3.581 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/9.494, allocations: 0.7383 MB / 3.582 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/9.494, allocations: 0 / 3.582 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/9.494, allocations: 8 kB / 3.582 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/9.496, allocations: 243.7 kB / 3.582 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005506/9.496, allocations: 1.196 MB / 3.583 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/9.497, allocations: 199.2 kB / 3.583 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/9.498, allocations: 31.98 kB / 3.583 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/9.498, allocations: 4.781 kB / 3.583 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/9.499, allocations: 0.6902 MB / 3.584 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/9.499, allocations: 4 kB / 3.584 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/9.499, allocations: 4 kB / 3.584 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/9.5, allocations: 227.9 kB / 3.584 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/9.5, allocations: 4 kB / 3.584 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/9.501, allocations: 191.2 kB / 3.584 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/9.501, allocations: 39.98 kB / 3.584 GB, free: 12.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0002278/9.501, allocations: 144.8 kB / 3.584 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/9.502, allocations: 98.78 kB / 3.585 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/9.503, allocations: 0.8365 MB / 3.585 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/9.503, allocations: 8 kB / 3.585 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/9.503, allocations: 0 / 3.585 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/9.503, allocations: 3.984 kB / 3.585 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/9.506, allocations: 2.033 MB / 3.587 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/9.506, allocations: 4 kB / 3.587 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/9.507, allocations: 223.9 kB / 3.588 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/9.507, allocations: 7.953 kB / 3.588 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/9.507, allocations: 19.98 kB / 3.588 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/9.508, allocations: 1.188 MB / 3.589 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/9.508, allocations: 7.953 kB / 3.589 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/9.509, allocations: 1.05 MB / 3.59 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/9.51, allocations: 291.6 kB / 3.59 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/9.51, allocations: 19.98 kB / 3.59 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/9.511, allocations: 171.7 kB / 3.59 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/9.511, allocations: 60.25 kB / 3.59 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/9.511, allocations: 35.97 kB / 3.59 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007431/9.512, allocations: 0.5629 MB / 3.591 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/9.512, allocations: 3.938 kB / 3.591 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002136/9.514, allocations: 0.6282 MB / 3.592 GB, free: 4.586 MB / 0.6823 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.004045/9.518, allocations: 3.934 MB / 3.595 GB, free: 496 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002476/9.521, allocations: 1.205 MB / 3.597 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/9.521, allocations: 0 / 3.597 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008475/9.522, allocations: 419.7 kB / 3.597 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/9.524, allocations: 459.1 kB / 3.597 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/9.528, allocations: 1.583 MB / 3.599 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/9.529, allocations: 1.064 MB / 3.6 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001812/9.531, allocations: 362.9 kB / 3.6 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/9.532, allocations: 347.3 kB / 3.601 GB, free: 10.95 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/9.532, allocations: 0 / 3.601 GB, free: 10.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5894/10.12, allocations: 55.47 MB / 3.655 GB, free: 98.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/10.12, allocations: 236.2 kB / 3.655 GB, free: 98.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/14.11, allocations: 2.844 kB / 3.655 GB, free: 98.02 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)