Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.9454/0.9454, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 185 kB / 191.5 MB, free: 5.758 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.451/1.451, allocations: 223.2 MB / 447.7 MB, free: 4.754 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.001079/0.001079, allocations: 92.31 kB / 0.5187 GB, free: 1.117 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 280.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 17.56 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/1.556, allocations: 399.2 MB / 1.164 GB, free: 269.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/1.557, allocations: 96.64 kB / 1.164 GB, free: 269.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.071/2.628, allocations: 295.1 MB / 1.452 GB, free: 171.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.137e-06/2.629, allocations: 0 / 1.452 GB, free: 171.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001294/2.629, allocations: 19.61 kB / 1.452 GB, free: 171.3 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003091/2.632, allocations: 1.164 MB / 1.453 GB, free: 170.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/2.632, allocations: 8.562 kB / 1.453 GB, free: 170.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/2.632, allocations: 98.67 kB / 1.453 GB, free: 170.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/2.634, allocations: 277.1 kB / 1.453 GB, free: 170.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/2.636, allocations: 0.8707 MB / 1.454 GB, free: 170.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/2.636, allocations: 42.28 kB / 1.454 GB, free: 170.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/2.636, allocations: 58.73 kB / 1.454 GB, free: 170.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/2.638, allocations: 0.7911 MB / 1.455 GB, free: 170.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/2.638, allocations: 6.156 kB / 1.455 GB, free: 170.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/2.638, allocations: 24.92 kB / 1.455 GB, free: 170.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/2.638, allocations: 17.88 kB / 1.455 GB, free: 170.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/2.64, allocations: 0.621 MB / 1.456 GB, free: 170.3 MB / 0.7136 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.004651/2.645, allocations: 3.769 MB / 1.459 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/2.647, allocations: 491.9 kB / 1.46 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/2.648, allocations: 0.5168 MB / 1.46 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/2.648, allocations: 40.67 kB / 1.461 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/2.648, allocations: 2.875 kB / 1.461 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.003143/2.651, allocations: 0.8293 MB / 1.461 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/2.651, allocations: 112.6 kB / 1.461 GB, free: 167.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/2.652, allocations: 0.5227 MB / 1.462 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/2.652, allocations: 36.8 kB / 1.462 GB, free: 167 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/2.652, allocations: 386.6 kB / 1.462 GB, free: 166.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/2.652, allocations: 90.25 kB / 1.462 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/2.652, allocations: 6.312 kB / 1.462 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001375/2.652, allocations: 372.4 kB / 1.463 GB, free: 166.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009402/2.653, allocations: 204.2 kB / 1.463 GB, free: 166.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/2.654, allocations: 374.4 kB / 1.463 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/2.655, allocations: 244.8 kB / 1.464 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/2.655, allocations: 1.406 kB / 1.464 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002312/2.658, allocations: 0.6669 MB / 1.464 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/2.658, allocations: 7.375 kB / 1.464 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/2.658, allocations: 8.047 kB / 1.464 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/2.658, allocations: 67.39 kB / 1.464 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/2.659, allocations: 136.1 kB / 1.464 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004696/2.659, allocations: 0.6301 MB / 1.465 GB, free: 165.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/2.66, allocations: 113 kB / 1.465 GB, free: 165.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/2.66, allocations: 20.67 kB / 1.465 GB, free: 165.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/2.661, allocations: 226.1 kB / 1.465 GB, free: 165.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/2.661, allocations: 62.59 kB / 1.465 GB, free: 165.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/2.663, allocations: 0.6553 MB / 1.466 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/2.663, allocations: 4 kB / 1.466 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/2.663, allocations: 3.719 kB / 1.466 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/2.666, allocations: 0.7354 MB / 1.467 GB, free: 165.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/2.669, allocations: 1.34 MB / 1.468 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/2.669, allocations: 1.5 kB / 1.468 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/2.669, allocations: 83.83 kB / 1.468 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/2.67, allocations: 61.16 kB / 1.468 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/2.67, allocations: 16.05 kB / 1.468 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003882/2.67, allocations: 0.6319 MB / 1.469 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.67, allocations: 4.891 kB / 1.469 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/2.673, allocations: 1.002 MB / 1.47 GB, free: 164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/2.673, allocations: 207.4 kB / 1.47 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/2.674, allocations: 7.5 kB / 1.47 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/2.674, allocations: 88.42 kB / 1.47 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/2.674, allocations: 18.41 kB / 1.47 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/2.675, allocations: 28.42 kB / 1.47 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006588/2.675, allocations: 425.6 kB / 1.471 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/2.675, allocations: 3.156 kB / 1.471 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001395/2.677, allocations: 329.9 kB / 1.471 GB, free: 163.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004321/2.681, allocations: 2.253 MB / 1.473 GB, free: 162.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00217/2.683, allocations: 0.5 MB / 1.474 GB, free: 162.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/2.683, allocations: 5.625 kB / 1.474 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/2.684, allocations: 248.1 kB / 1.474 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/2.686, allocations: 334.6 kB / 1.474 GB, free: 162.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/2.698, allocations: 6.613 MB / 1.481 GB, free: 158.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/2.698, allocations: 0.9369 MB / 1.482 GB, free: 158 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008067/2.699, allocations: 150.9 kB / 1.482 GB, free: 158 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/2.7, allocations: 265.2 kB / 1.482 GB, free: 157.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/2.7, allocations: 0 / 1.482 GB, free: 157.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/2.738, allocations: 22.54 MB / 1.504 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/2.738, allocations: 269.2 kB / 1.504 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/5.805, allocations: 0 / 1.504 GB, free: 157.1 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)