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.6897/0.6897, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009356/0.0009357, allocations: 190 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.232/1.232, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009149/0.0009148, allocations: 99.42 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 274.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.224e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3695, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6693/1.039, allocations: 399.2 MB / 1.154 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.039, allocations: 90.89 kB / 1.154 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8267/1.866, allocations: 294.1 MB / 1.442 GB, free: 21 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/1.866, allocations: 0 / 1.442 GB, free: 21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.504e-05/1.866, allocations: 16 kB / 1.442 GB, free: 20.99 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001875/1.868, allocations: 1.034 MB / 1.443 GB, free: 19.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.868, allocations: 8.031 kB / 1.443 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/1.868, allocations: 106.5 kB / 1.443 GB, free: 19.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/1.87, allocations: 274.7 kB / 1.443 GB, free: 19.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.872, allocations: 0.8585 MB / 1.444 GB, free: 18.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/1.872, allocations: 45.27 kB / 1.444 GB, free: 18.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/1.872, allocations: 60 kB / 1.444 GB, free: 18.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/1.873, allocations: 0.7105 MB / 1.445 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.873, allocations: 3.938 kB / 1.445 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/1.873, allocations: 32 kB / 1.445 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.873, allocations: 16 kB / 1.445 GB, free: 17.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/1.874, allocations: 468.9 kB / 1.445 GB, free: 17.23 MB / 0.698 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.003733/1.877, allocations: 3.771 MB / 1.449 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/1.878, allocations: 336 kB / 1.449 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/1.878, allocations: 136.8 kB / 1.449 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/1.879, allocations: 0.522 MB / 1.45 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.879, allocations: 34.56 kB / 1.45 GB, free: 12.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.465e-06/1.879, allocations: 4 kB / 1.45 GB, free: 12.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0007337/1.879, allocations: 397 kB / 1.45 GB, free: 11.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/1.879, allocations: 102.8 kB / 1.45 GB, free: 11.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/1.88, allocations: 0.5189 MB / 1.451 GB, free: 11.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.88, allocations: 37.7 kB / 1.451 GB, free: 10.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/1.88, allocations: 395.5 kB / 1.451 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/1.88, allocations: 86.75 kB / 1.451 GB, free: 10.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/1.88, allocations: 8 kB / 1.451 GB, free: 10.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/1.88, allocations: 370.8 kB / 1.452 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/1.881, allocations: 124.8 kB / 1.452 GB, free: 9.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/1.881, allocations: 296 kB / 1.452 GB, free: 9.629 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/1.881, allocations: 165.4 kB / 1.452 GB, free: 9.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.881, allocations: 0 / 1.452 GB, free: 9.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007487/1.882, allocations: 0.5246 MB / 1.453 GB, free: 8.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.882, allocations: 8 kB / 1.453 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.882, allocations: 4 kB / 1.453 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/1.882, allocations: 68.81 kB / 1.453 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/1.883, allocations: 136.2 kB / 1.453 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003312/1.883, allocations: 0.6265 MB / 1.453 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/1.884, allocations: 115.5 kB / 1.454 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/1.884, allocations: 23.97 kB / 1.454 GB, free: 7.93 MB / 0.698 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 () * 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.0001172/1.884, allocations: 132.8 kB / 1.454 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.884, allocations: 59.25 kB / 1.454 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/1.885, allocations: 0.5153 MB / 1.454 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.885, allocations: 4 kB / 1.454 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.885, allocations: 3.938 kB / 1.454 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005157/1.886, allocations: 0.5971 MB / 1.455 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.887, allocations: 1.192 MB / 1.456 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.887, allocations: 4 kB / 1.456 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/1.887, allocations: 87.83 kB / 1.456 GB, free: 5.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/1.888, allocations: 60.98 kB / 1.456 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/1.888, allocations: 15.98 kB / 1.456 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002758/1.888, allocations: 0.6265 MB / 1.457 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.888, allocations: 0 / 1.457 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/1.889, allocations: 0.7822 MB / 1.458 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/1.889, allocations: 200.3 kB / 1.458 GB, free: 3.387 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.889, allocations: 11.98 kB / 1.458 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/1.89, allocations: 83.83 kB / 1.458 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/1.89, allocations: 24.11 kB / 1.458 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.89, allocations: 19.97 kB / 1.458 GB, free: 3.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003758/1.89, allocations: 435.1 kB / 1.458 GB, free: 2.832 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.89, allocations: 0 / 1.458 GB, free: 2.832 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009739/1.891, allocations: 323.4 kB / 1.459 GB, free: 2.516 MB / 0.698 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 () * 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.001816/1.893, allocations: 2.031 MB / 1.461 GB, free: 444 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005728/1.894, allocations: 363.5 kB / 1.461 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.894, allocations: 4 kB / 1.461 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.3304/2.224, allocations: 163.1 kB / 1.461 GB, free: 166.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/2.226, allocations: 332.3 kB / 1.461 GB, free: 166.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/2.229, allocations: 1.033 MB / 1.462 GB, free: 166.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/2.229, allocations: 0.9399 MB / 1.463 GB, free: 165.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007154/2.23, allocations: 155.7 kB / 1.463 GB, free: 165.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/2.23, allocations: 263 kB / 1.464 GB, free: 165.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/2.23, allocations: 0 / 1.464 GB, free: 165.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/2.266, allocations: 22.75 MB / 1.486 GB, free: 165.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/2.267, allocations: 235.5 kB / 1.486 GB, free: 164.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/4.578, allocations: 0 / 1.486 GB, free: 164.9 MB / 0.698 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)