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.9369/0.9369, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001053/0.001053, allocations: 176.8 kB / 182.2 MB, free: 9.434 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.527/1.527, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009017/0.0009017, allocations: 85.75 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 274.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.113e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4854, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.434, allocations: 398.5 MB / 1.147 GB, free: 15.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.435, allocations: 90.08 kB / 1.147 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.075/2.51, allocations: 292.8 MB / 1.433 GB, free: 15.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.908e-06/2.51, allocations: 4 kB / 1.433 GB, free: 15.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.145e-05/2.51, allocations: 16.19 kB / 1.433 GB, free: 15.57 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.001913/2.512, allocations: 1.031 MB / 1.434 GB, free: 14.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/2.512, allocations: 8.031 kB / 1.434 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/2.514, allocations: 282.7 kB / 1.434 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/2.516, allocations: 0.8546 MB / 1.435 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/2.516, allocations: 19.95 kB / 1.435 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/2.516, allocations: 36 kB / 1.435 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007285/2.516, allocations: 414.5 kB / 1.435 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/2.517, allocations: 0.6259 MB / 1.436 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/2.517, allocations: 0 / 1.436 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/2.517, allocations: 8 kB / 1.436 GB, free: 12.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/2.517, allocations: 23.94 kB / 1.436 GB, free: 12.13 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.004376/2.522, allocations: 3.776 MB / 1.44 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/2.522, allocations: 266.6 kB / 1.44 GB, free: 7.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/2.522, allocations: 112.8 kB / 1.44 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004158/2.523, allocations: 368.4 kB / 1.44 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/2.523, allocations: 38.55 kB / 1.44 GB, free: 7.223 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/2.523, allocations: 0 / 1.44 GB, free: 7.223 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0009704/2.524, allocations: 370.8 kB / 1.441 GB, free: 6.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/2.524, allocations: 102.8 kB / 1.441 GB, free: 6.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/2.525, allocations: 494.3 kB / 1.441 GB, free: 6.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/2.525, allocations: 29.64 kB / 1.441 GB, free: 6.199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/2.525, allocations: 411.2 kB / 1.442 GB, free: 5.793 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/2.525, allocations: 70.94 kB / 1.442 GB, free: 5.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/2.525, allocations: 0 / 1.442 GB, free: 5.723 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001048/2.525, allocations: 370.9 kB / 1.442 GB, free: 5.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/2.525, allocations: 116.8 kB / 1.442 GB, free: 5.238 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/2.525, allocations: 275.1 kB / 1.442 GB, free: 4.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/2.526, allocations: 188.3 kB / 1.443 GB, free: 4.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.526, allocations: 0 / 1.443 GB, free: 4.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009016/2.527, allocations: 0.4934 MB / 1.443 GB, free: 4.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/2.527, allocations: 9.562 kB / 1.443 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/2.527, allocations: 4 kB / 1.443 GB, free: 4.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/2.527, allocations: 57.36 kB / 1.443 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/2.528, allocations: 131.8 kB / 1.443 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003999/2.528, allocations: 0.6305 MB / 1.444 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/2.529, allocations: 103.5 kB / 1.444 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/2.529, allocations: 23.98 kB / 1.444 GB, free: 3.234 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.0001271/2.529, allocations: 116.9 kB / 1.444 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007116/2.53, allocations: 374.3 kB / 1.444 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/2.53, allocations: 59.34 kB / 1.445 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/2.531, allocations: 451.9 kB / 1.445 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/2.531, allocations: 0 / 1.445 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.531, allocations: 3.953 kB / 1.445 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006699/2.532, allocations: 0.5743 MB / 1.446 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/2.533, allocations: 0.9993 MB / 1.447 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.533, allocations: 0 / 1.447 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/2.534, allocations: 75.91 kB / 1.447 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/2.534, allocations: 60.91 kB / 1.447 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/2.534, allocations: 11.97 kB / 1.447 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5904/3.124, allocations: 0.6146 MB / 1.447 GB, free: 168.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/3.124, allocations: 0.5625 kB / 1.447 GB, free: 168.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/3.126, allocations: 0.6551 MB / 1.448 GB, free: 168.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/3.127, allocations: 200 kB / 1.448 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/3.127, allocations: 6.188 kB / 1.448 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008678/3.128, allocations: 65.08 kB / 1.448 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/3.128, allocations: 15.41 kB / 1.448 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/3.128, allocations: 25.34 kB / 1.448 GB, free: 168.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007479/3.129, allocations: 370.2 kB / 1.449 GB, free: 168.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/3.129, allocations: 0 / 1.449 GB, free: 168.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001754/3.131, allocations: 310.1 kB / 1.449 GB, free: 168.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 14 * 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.002881/3.134, allocations: 1.619 MB / 1.45 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008742/3.134, allocations: 313.1 kB / 1.451 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/3.134, allocations: 3.625 kB / 1.451 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/3.135, allocations: 148.7 kB / 1.451 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/3.136, allocations: 310.3 kB / 1.451 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/3.139, allocations: 0.9626 MB / 1.452 GB, free: 167.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/3.14, allocations: 0.9386 MB / 1.453 GB, free: 166.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007271/3.14, allocations: 139.6 kB / 1.453 GB, free: 166.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/3.141, allocations: 266.7 kB / 1.453 GB, free: 166.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/3.141, allocations: 0 / 1.453 GB, free: 166.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/3.199, allocations: 19.24 MB / 1.472 GB, free: 166.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/3.199, allocations: 191.2 kB / 1.472 GB, free: 166 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/6.024, allocations: 0 / 1.472 GB, free: 166 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)