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.001459/0.001459, allocations: 173.9 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.9396/0.9396, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.652/1.652, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.00106/0.00106, allocations: 107 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.897e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5703, allocations: 82.31 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.812, allocations: 2.128 GB / 2.762 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/6.813, allocations: 83.33 kB / 2.762 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.137/9.95, allocations: 0.7892 GB / 3.551 GB, free: 98.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/9.95, allocations: 0 / 3.551 GB, free: 98.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001666/9.95, allocations: 28.27 kB / 3.551 GB, free: 98.31 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.008273/9.958, allocations: 1.572 MB / 3.553 GB, free: 97.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/9.959, allocations: 11.62 kB / 3.553 GB, free: 97.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/9.962, allocations: 440.2 kB / 3.553 GB, free: 97.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/9.967, allocations: 1.042 MB / 3.554 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009258/9.968, allocations: 157.4 kB / 3.554 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/9.968, allocations: 46.36 kB / 3.554 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002461/9.97, allocations: 0.7337 MB / 3.555 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/9.972, allocations: 0.8366 MB / 3.556 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/9.972, allocations: 0 / 3.556 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/9.972, allocations: 3.938 kB / 3.556 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/9.972, allocations: 31.78 kB / 3.556 GB, free: 96.97 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.007624/9.98, allocations: 4.073 MB / 3.56 GB, free: 95.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/9.981, allocations: 0.5318 MB / 3.56 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/9.981, allocations: 325.7 kB / 3.561 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008503/9.982, allocations: 0.6441 MB / 3.561 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007347/9.983, allocations: 442.5 kB / 3.562 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.605e-06/9.983, allocations: 0 / 3.562 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001748/9.985, allocations: 0.721 MB / 3.562 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/9.985, allocations: 86.39 kB / 3.563 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/9.986, allocations: 0.5596 MB / 3.563 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/9.986, allocations: 29.67 kB / 3.563 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/9.986, allocations: 441.1 kB / 3.564 GB, free: 93.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/9.986, allocations: 188.1 kB / 3.564 GB, free: 93.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/9.986, allocations: 2.969 kB / 3.564 GB, free: 93.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/9.986, allocations: 330.5 kB / 3.564 GB, free: 93.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/9.987, allocations: 252.8 kB / 3.564 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/9.987, allocations: 411.6 kB / 3.565 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/9.988, allocations: 325.9 kB / 3.565 GB, free: 93.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/9.988, allocations: 3.938 kB / 3.565 GB, free: 93.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001285/9.989, allocations: 0.7594 MB / 3.566 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/9.989, allocations: 0.9023 MB / 3.567 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/9.989, allocations: 18.05 kB / 3.567 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/9.989, allocations: 5.344 kB / 3.567 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/9.991, allocations: 242.8 kB / 3.567 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/9.991, allocations: 1.207 MB / 3.568 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/9.992, allocations: 170.7 kB / 3.568 GB, free: 91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/9.993, allocations: 37.53 kB / 3.568 GB, free: 91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/9.993, allocations: 3.906 kB / 3.568 GB, free: 91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/9.994, allocations: 0.6495 MB / 3.569 GB, free: 90.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/9.994, allocations: 3.625 kB / 3.569 GB, free: 90.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/9.994, allocations: 3.688 kB / 3.569 GB, free: 90.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/9.995, allocations: 227.4 kB / 3.569 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/9.995, allocations: 3.688 kB / 3.569 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/9.996, allocations: 165.8 kB / 3.569 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/9.996, allocations: 37.47 kB / 3.569 GB, free: 90.77 MB / 0.6823 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.0002637/9.996, allocations: 120.7 kB / 3.569 GB, free: 90.65 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001173/9.998, allocations: 0.6795 MB / 3.57 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/9.998, allocations: 85.84 kB / 3.57 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/9.999, allocations: 0.8311 MB / 3.571 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/9.999, allocations: 9.281 kB / 3.571 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/9.999, allocations: 3.312 kB / 3.571 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/9.999, allocations: 3.422 kB / 3.571 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/10, allocations: 1.904 MB / 3.573 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/10, allocations: 7.703 kB / 3.573 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/10, allocations: 225.5 kB / 3.573 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/10, allocations: 3.812 kB / 3.573 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/10, allocations: 21.86 kB / 3.573 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004068/10, allocations: 1.198 MB / 3.574 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/10, allocations: 3.938 kB / 3.574 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/10.01, allocations: 1.043 MB / 3.575 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/10.01, allocations: 276.5 kB / 3.576 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/10.01, allocations: 7.812 kB / 3.576 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/10.01, allocations: 153.3 kB / 3.576 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/10.01, allocations: 67.72 kB / 3.576 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/10.01, allocations: 31.23 kB / 3.576 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005908/10.01, allocations: 444.5 kB / 3.576 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.72e-07/10.01, allocations: 0 / 3.576 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002205/10.01, allocations: 0.5912 MB / 3.577 GB, free: 86.64 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.004581/10.02, allocations: 4.1 MB / 3.581 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002251/10.02, allocations: 1.164 MB / 3.582 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/10.02, allocations: 0 / 3.582 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/10.02, allocations: 406.9 kB / 3.582 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/10.02, allocations: 333.3 kB / 3.583 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/10.02, allocations: 1.499 MB / 3.584 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/10.02, allocations: 1.076 MB / 3.585 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001491/10.03, allocations: 328.1 kB / 3.585 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/10.03, allocations: 339.5 kB / 3.586 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/10.03, allocations: 0 / 3.586 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06755/10.09, allocations: 35.41 MB / 3.62 GB, free: 46.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/10.09, allocations: 173.9 kB / 3.621 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.687/13.78, allocations: 0 / 3.621 GB, free: 45.98 MB / 0.6823 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)