Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6994/0.6994, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 183.3 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008861/0.0008861, allocations: 97.34 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 279.8 kB / 0.5939 GB, free: 7.906 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.328e-05, allocations: 4 kB / 0.6835 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3786, allocations: 82.76 MB / 0.7644 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.907/4.286, allocations: 2.126 GB / 2.89 GB, free: 200.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/4.286, allocations: 79.95 kB / 2.89 GB, free: 200.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.315/6.601, allocations: 0.7964 GB / 3.687 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/6.601, allocations: 3.906 kB / 3.687 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.795e-05/6.601, allocations: 29.53 kB / 3.687 GB, free: 108.2 MB / 0.7136 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.003613/6.605, allocations: 1.57 MB / 3.688 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/6.605, allocations: 12.12 kB / 3.688 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/6.605, allocations: 115.9 kB / 3.689 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/6.607, allocations: 443.3 kB / 3.689 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/6.609, allocations: 1.032 MB / 3.69 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/6.61, allocations: 187.6 kB / 3.69 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/6.61, allocations: 73.06 kB / 3.69 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/6.611, allocations: 0.9284 MB / 3.691 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/6.611, allocations: 3.562 kB / 3.691 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/6.611, allocations: 25.14 kB / 3.691 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/6.611, allocations: 36.41 kB / 3.691 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/6.613, allocations: 0.8172 MB / 3.692 GB, free: 107.1 MB / 0.7136 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.005219/6.618, allocations: 4.242 MB / 3.696 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/6.619, allocations: 0.5439 MB / 3.697 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/6.619, allocations: 345.3 kB / 3.697 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/6.62, allocations: 0.6403 MB / 3.698 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/6.62, allocations: 461.8 kB / 3.698 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 1.783e-06/6.62, allocations: 0 / 3.698 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.001178/6.621, allocations: 0.7052 MB / 3.699 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/6.621, allocations: 85.36 kB / 3.699 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/6.622, allocations: 0.7249 MB / 3.7 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/6.622, allocations: 40.02 kB / 3.7 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/6.622, allocations: 427.8 kB / 3.7 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/6.623, allocations: 192.1 kB / 3.7 GB, free: 104 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/6.623, allocations: 13.34 kB / 3.7 GB, free: 104 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/6.623, allocations: 330.8 kB / 3.7 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/6.623, allocations: 265 kB / 3.701 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/6.624, allocations: 425.7 kB / 3.701 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/6.624, allocations: 308.2 kB / 3.701 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/6.624, allocations: 0 / 3.701 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001057/6.625, allocations: 0.7811 MB / 3.702 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/6.625, allocations: 0.7345 MB / 3.703 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/6.625, allocations: 3.719 kB / 3.703 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/6.625, allocations: 5.469 kB / 3.703 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/6.626, allocations: 251.7 kB / 3.703 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004173/6.627, allocations: 1.192 MB / 3.704 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/6.628, allocations: 198.1 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/6.628, allocations: 35.92 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/6.628, allocations: 4.406 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009581/6.629, allocations: 0.6803 MB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/6.629, allocations: 6.75 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/6.629, allocations: 3.844 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/6.63, allocations: 228.8 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/6.63, allocations: 3.938 kB / 3.705 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/6.631, allocations: 188 kB / 3.706 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/6.631, allocations: 40.22 kB / 3.706 GB, free: 101.3 MB / 0.7136 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.0001454/6.631, allocations: 148.2 kB / 3.706 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/6.631, allocations: 95.69 kB / 3.706 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/6.632, allocations: 0.843 MB / 3.707 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/6.632, allocations: 7.938 kB / 3.707 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/6.632, allocations: 3.828 kB / 3.707 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/6.633, allocations: 3.469 kB / 3.707 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/6.635, allocations: 2.029 MB / 3.709 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/6.635, allocations: 6.781 kB / 3.709 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/6.636, allocations: 223.8 kB / 3.709 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/6.636, allocations: 10.8 kB / 3.709 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/6.636, allocations: 19.05 kB / 3.709 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/6.636, allocations: 1.197 MB / 3.71 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/6.636, allocations: 9.625 kB / 3.71 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/6.637, allocations: 1.052 MB / 3.711 GB, free: 99.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/6.638, allocations: 293.9 kB / 3.711 GB, free: 98.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/6.638, allocations: 18.83 kB / 3.711 GB, free: 98.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/6.639, allocations: 160.9 kB / 3.712 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/6.639, allocations: 61.53 kB / 3.712 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/6.639, allocations: 31.88 kB / 3.712 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005931/6.64, allocations: 0.5677 MB / 3.712 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/6.64, allocations: 0 / 3.712 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001815/6.642, allocations: 0.622 MB / 3.713 GB, free: 98.77 MB / 0.7136 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.003724/6.645, allocations: 3.957 MB / 3.717 GB, free: 96.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001811/6.647, allocations: 1.205 MB / 3.718 GB, free: 96.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/6.647, allocations: 0 / 3.718 GB, free: 96.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/6.648, allocations: 423.8 kB / 3.718 GB, free: 96.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/6.65, allocations: 450.1 kB / 3.719 GB, free: 96.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/6.652, allocations: 1.568 MB / 3.72 GB, free: 96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/6.653, allocations: 1.067 MB / 3.721 GB, free: 95.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001349/6.654, allocations: 366.3 kB / 3.722 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/6.654, allocations: 344.4 kB / 3.722 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/6.654, allocations: 3.125 kB / 3.722 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/6.72, allocations: 55.53 MB / 3.776 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/6.72, allocations: 247.6 kB / 3.776 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/10.38, allocations: 0 / 3.776 GB, free: 90.55 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)