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.008074/0.008074, allocations: 169.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7635/0.7635, allocations: 135.2 MB / 151 MB, free: 13.81 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.555/1.555, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.001083/0.001083, allocations: 98.98 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4614, allocations: 82.31 MB / 0.6495 GB, free: 36.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.04/5.502, allocations: 2.129 GB / 2.778 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/5.502, allocations: 87.95 kB / 2.778 GB, free: 117 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.738/8.24, allocations: 0.7976 GB / 3.576 GB, free: 104.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/8.24, allocations: 4 kB / 3.576 GB, free: 104.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.947e-05/8.24, allocations: 27.94 kB / 3.576 GB, free: 104.8 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.004507/8.245, allocations: 1.749 MB / 3.578 GB, free: 102.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/8.245, allocations: 12.03 kB / 3.578 GB, free: 102.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/8.245, allocations: 118.5 kB / 3.578 GB, free: 102.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/8.247, allocations: 434.1 kB / 3.578 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/8.249, allocations: 1.052 MB / 3.579 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005699/8.25, allocations: 189.8 kB / 3.579 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/8.25, allocations: 68 kB / 3.579 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/8.252, allocations: 1.127 MB / 3.581 GB, free: 99.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/8.252, allocations: 3.984 kB / 3.581 GB, free: 99.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/8.252, allocations: 28 kB / 3.581 GB, free: 99.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/8.252, allocations: 30 kB / 3.581 GB, free: 99.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/8.255, allocations: 1.21 MB / 3.582 GB, free: 98.61 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00581/8.261, allocations: 4.243 MB / 3.586 GB, free: 94.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/8.263, allocations: 0.9415 MB / 3.587 GB, free: 93.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/8.264, allocations: 0.637 MB / 3.587 GB, free: 92.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/8.265, allocations: 0.6383 MB / 3.588 GB, free: 91.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 1.753e-06/8.265, allocations: 3.938 kB / 3.588 GB, free: 91.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003855/8.269, allocations: 1.54 MB / 3.59 GB, free: 90.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/8.269, allocations: 93.67 kB / 3.59 GB, free: 90.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/8.27, allocations: 0.7254 MB / 3.59 GB, free: 89.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/8.27, allocations: 37.7 kB / 3.59 GB, free: 89.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/8.27, allocations: 436.3 kB / 3.591 GB, free: 88.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/8.27, allocations: 189.2 kB / 3.591 GB, free: 88.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/8.27, allocations: 12 kB / 3.591 GB, free: 88.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/8.27, allocations: 329.9 kB / 3.591 GB, free: 88.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/8.271, allocations: 464.8 kB / 3.592 GB, free: 87.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/8.273, allocations: 0.6144 MB / 3.592 GB, free: 87.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/8.274, allocations: 0.4917 MB / 3.593 GB, free: 86.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/8.274, allocations: 0 / 3.593 GB, free: 86.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002544/8.276, allocations: 1.167 MB / 3.594 GB, free: 85.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/8.276, allocations: 0.7381 MB / 3.595 GB, free: 84.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/8.276, allocations: 0 / 3.595 GB, free: 84.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/8.276, allocations: 8 kB / 3.595 GB, free: 84.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/8.278, allocations: 235.7 kB / 3.595 GB, free: 84.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004928/8.278, allocations: 1.199 MB / 3.596 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/8.279, allocations: 191.5 kB / 3.596 GB, free: 83.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/8.28, allocations: 35.91 kB / 3.596 GB, free: 83.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/8.28, allocations: 4 kB / 3.596 GB, free: 83.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/8.282, allocations: 1.073 MB / 3.597 GB, free: 81.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/8.282, allocations: 3.953 kB / 3.597 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/8.282, allocations: 4 kB / 3.597 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/8.283, allocations: 227.8 kB / 3.598 GB, free: 81.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/8.283, allocations: 4 kB / 3.598 GB, free: 81.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/8.284, allocations: 195.2 kB / 3.598 GB, free: 81.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/8.284, allocations: 39.91 kB / 3.598 GB, free: 81.47 MB / 0.698 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 () * Number of clocked 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.0004082/8.285, allocations: 342.8 kB / 3.598 GB, free: 81.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/8.285, allocations: 98.88 kB / 3.598 GB, free: 81.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/8.287, allocations: 1.223 MB / 3.599 GB, free: 79.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/8.288, allocations: 11.98 kB / 3.599 GB, free: 79.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/8.288, allocations: 4 kB / 3.599 GB, free: 79.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/8.288, allocations: 0 / 3.599 GB, free: 79.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/8.292, allocations: 2.427 MB / 3.602 GB, free: 77.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/8.292, allocations: 352 / 3.602 GB, free: 77.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/8.293, allocations: 223.7 kB / 3.602 GB, free: 77.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/8.293, allocations: 12 kB / 3.602 GB, free: 77.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/8.293, allocations: 19.98 kB / 3.602 GB, free: 77.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003365/8.293, allocations: 1.188 MB / 3.603 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/8.293, allocations: 4.125 kB / 3.603 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/8.296, allocations: 1.439 MB / 3.605 GB, free: 74.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/8.296, allocations: 295.5 kB / 3.605 GB, free: 73.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/8.296, allocations: 27.81 kB / 3.605 GB, free: 73.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/8.297, allocations: 159.8 kB / 3.605 GB, free: 73.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/8.297, allocations: 56.31 kB / 3.605 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/8.298, allocations: 35.97 kB / 3.605 GB, free: 73.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000572/8.298, allocations: 0.5704 MB / 3.606 GB, free: 73.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/8.298, allocations: 4 kB / 3.606 GB, free: 73.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001735/8.3, allocations: 0.6398 MB / 3.606 GB, free: 72.41 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) * Number of clocked states: 0 () * 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.004725/8.305, allocations: 4.322 MB / 3.611 GB, free: 67.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00402/8.309, allocations: 1.75 MB / 3.612 GB, free: 66.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/8.309, allocations: 0 / 3.612 GB, free: 66.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/8.31, allocations: 0.6081 MB / 3.613 GB, free: 65.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/8.312, allocations: 445.9 kB / 3.613 GB, free: 65.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/8.317, allocations: 3.855 MB / 3.617 GB, free: 61.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/8.317, allocations: 1.078 MB / 3.618 GB, free: 60.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001294/8.319, allocations: 297.9 kB / 3.618 GB, free: 59.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/8.319, allocations: 359.3 kB / 3.619 GB, free: 59.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.193e-06/8.319, allocations: 0 / 3.619 GB, free: 59.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/8.381, allocations: 49.73 MB / 3.667 GB, free: 10.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/8.381, allocations: 260 kB / 3.668 GB, free: 9.879 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/13.68, allocations: 8 kB / 3.668 GB, free: 9.871 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)