Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.315/2.315, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.02 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.872e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.42/6.753, allocations: 2.223 GB / 3.441 GB, free: 41.56 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/6.753, allocations: 96.72 kB / 3.442 GB, free: 41.46 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.79/18.54, allocations: 2.718 GB / 6.159 GB, free: 64.48 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.486e-06/18.54, allocations: 0 / 6.159 GB, free: 64.48 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.002176/18.54, allocations: 167.9 kB / 6.159 GB, free: 64.31 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.0315/18.58, allocations: 6.191 MB / 6.165 GB, free: 58.05 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/18.58, allocations: 8.031 kB / 6.165 GB, free: 58.05 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003604/18.58, allocations: 0.662 MB / 6.166 GB, free: 57.38 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/18.59, allocations: 1.494 MB / 6.167 GB, free: 55.87 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02652/18.62, allocations: 7.466 MB / 6.175 GB, free: 48.33 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/18.62, allocations: 361.5 kB / 6.175 GB, free: 47.97 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/18.62, allocations: 0.4959 MB / 6.175 GB, free: 47.48 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/18.64, allocations: 6.583 MB / 6.182 GB, free: 40.76 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/18.64, allocations: 7.938 kB / 6.182 GB, free: 40.75 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006591/18.64, allocations: 200 kB / 6.182 GB, free: 40.56 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/18.64, allocations: 224.9 kB / 6.182 GB, free: 40.34 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/18.65, allocations: 5.695 MB / 6.188 GB, free: 34.63 MB / 1.229 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.05977/18.71, allocations: 28.23 MB / 6.215 GB, free: 4.844 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00764/18.72, allocations: 4.442 MB / 6.22 GB, free: 272 kB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.139/19.86, allocations: 2.496 MB / 6.222 GB, free: 163.3 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/19.86, allocations: 0.9187 MB / 6.223 GB, free: 162.4 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005725/19.87, allocations: 2.184 MB / 6.225 GB, free: 162.2 MB / 1.229 GB Notification: Performance of pre-optimization done (n=325): time 7.034e-06/19.87, allocations: 0.7812 kB / 6.225 GB, free: 162.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=329): time 0.03188/19.9, allocations: 9.768 MB / 6.235 GB, free: 161.1 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/19.9, allocations: 165 kB / 6.235 GB, free: 160.9 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/19.91, allocations: 4.529 MB / 6.239 GB, free: 160.6 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001747/19.91, allocations: 97.05 kB / 6.239 GB, free: 160.6 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.005439/19.92, allocations: 2.721 MB / 6.242 GB, free: 159.9 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00309/19.92, allocations: 1.146 MB / 6.243 GB, free: 159.4 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/19.92, allocations: 62.56 kB / 6.243 GB, free: 159.4 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0003796/19.92, allocations: 445 kB / 6.244 GB, free: 159.1 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/19.93, allocations: 1.752 MB / 6.245 GB, free: 159 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004448/19.93, allocations: 2.567 MB / 6.248 GB, free: 158.3 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004851/19.94, allocations: 2.274 MB / 6.25 GB, free: 158.2 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/19.94, allocations: 4.531 kB / 6.25 GB, free: 158.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01325/19.95, allocations: 5.083 MB / 6.255 GB, free: 157.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001666/19.95, allocations: 6.206 MB / 6.261 GB, free: 151.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/19.95, allocations: 13.03 kB / 6.261 GB, free: 151.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/19.95, allocations: 217.2 kB / 6.261 GB, free: 151.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004505/19.96, allocations: 0.7662 MB / 6.262 GB, free: 151.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/19.96, allocations: 3.409 MB / 6.266 GB, free: 148.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/19.97, allocations: 0.6072 MB / 6.266 GB, free: 148.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/19.97, allocations: 136.5 kB / 6.266 GB, free: 148.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/19.97, allocations: 3.688 kB / 6.266 GB, free: 148.7 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01245/19.99, allocations: 4.638 MB / 6.271 GB, free: 148.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/19.99, allocations: 12.56 kB / 6.271 GB, free: 148.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/19.99, allocations: 207.7 kB / 6.271 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/19.99, allocations: 0.7646 MB / 6.272 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/20, allocations: 4.059 MB / 6.276 GB, free: 145.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008294/20, allocations: 0.6019 MB / 6.276 GB, free: 145.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/20.01, allocations: 132.6 kB / 6.276 GB, free: 145.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001566/20.01, allocations: 346.1 kB / 6.277 GB, free: 145.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/20.01, allocations: 0.5031 MB / 6.277 GB, free: 145.4 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/20.02, allocations: 4.907 MB / 6.282 GB, free: 145.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/20.02, allocations: 31.53 kB / 6.282 GB, free: 145.1 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/20.02, allocations: 0.8125 kB / 6.282 GB, free: 145.1 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006133/20.03, allocations: 4.08 MB / 6.286 GB, free: 144.8 MB / 1.229 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 postOpt removeSimpleEquations (simulation): time 0.02975/20.06, allocations: 12.16 MB / 6.298 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/20.06, allocations: 3.281 kB / 6.298 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/20.06, allocations: 0.7383 MB / 6.299 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/20.06, allocations: 172.5 kB / 6.299 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/20.06, allocations: 96.55 kB / 6.299 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/20.06, allocations: 3.317 MB / 6.302 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/20.06, allocations: 8.875 kB / 6.302 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/20.07, allocations: 7.731 MB / 6.31 GB, free: 140 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005287/20.08, allocations: 1.234 MB / 6.311 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/20.08, allocations: 79.5 kB / 6.311 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006352/20.09, allocations: 0.5028 MB / 6.311 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005803/20.09, allocations: 199.8 kB / 6.312 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/20.09, allocations: 124.5 kB / 6.312 GB, free: 139.6 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.007405/20.1, allocations: 3.56 MB / 6.315 GB, free: 139.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.7e-07/20.1, allocations: 3.5 kB / 6.315 GB, free: 139.4 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.01887/20.12, allocations: 3.128 MB / 6.318 GB, free: 139.4 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.s[1],val.filter.s[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0188/20.13, allocations: 12.08 MB / 6.33 GB, free: 135.7 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01342/20.15, allocations: 7.329 MB / 6.337 GB, free: 135.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/20.15, allocations: 3.562 kB / 6.337 GB, free: 135.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.00366/20.15, allocations: 2.327 MB / 6.34 GB, free: 134.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/20.17, allocations: 3.04 MB / 6.343 GB, free: 134.9 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/20.2, allocations: 13.7 MB / 6.356 GB, free: 132.6 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005753/20.21, allocations: 4.675 MB / 6.36 GB, free: 131.7 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.01643/20.23, allocations: 4.461 MB / 6.365 GB, free: 131.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005738/20.23, allocations: 2.482 MB / 6.367 GB, free: 131.7 MB / 1.229 GB Notification: Performance of SimCode: time 2.645e-06/20.23, allocations: 0 / 6.367 GB, free: 131.7 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3815/20.61, allocations: 213.4 MB / 6.576 GB, free: 63.93 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/20.61, allocations: 236.4 kB / 6.576 GB, free: 63.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/30.98, allocations: 0 / 6.576 GB, free: 63.6 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat does not exist to compare? outputFormat=mat