Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001063/0.001063, allocations: 172.2 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.001114/0.001114, allocations: 85.83 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.538e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.464/7.762, allocations: 2.344 GB / 3.557 GB, free: 406.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/7.762, allocations: 92.05 kB / 3.557 GB, free: 406.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 12.35/20.11, allocations: 2.721 GB / 6.278 GB, free: 117.8 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.124e-06/20.11, allocations: 0 / 6.278 GB, free: 117.8 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001117/20.12, allocations: 131.9 kB / 6.278 GB, free: 117.8 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1024 * Number of variables: 1024 Notification: Performance of Generate backend data structure: time 0.02547/20.14, allocations: 5.603 MB / 6.284 GB, free: 115.8 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/20.14, allocations: 8.844 kB / 6.284 GB, free: 115.8 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003225/20.14, allocations: 0.5254 MB / 6.284 GB, free: 115.7 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/20.17, allocations: 3.333 MB / 6.287 GB, free: 115.4 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02177/20.19, allocations: 5.143 MB / 6.292 GB, free: 114.7 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009897/20.19, allocations: 350.1 kB / 6.293 GB, free: 114.7 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/20.19, allocations: 410.1 kB / 6.293 GB, free: 114.7 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/20.21, allocations: 4.843 MB / 6.298 GB, free: 114.3 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/20.21, allocations: 1.688 kB / 6.298 GB, free: 114.3 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/20.22, allocations: 164.3 kB / 6.298 GB, free: 114.3 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/20.22, allocations: 170.2 kB / 6.298 GB, free: 114.3 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/20.23, allocations: 4.826 MB / 6.303 GB, free: 114.2 MB / 1.26 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.05481/20.29, allocations: 20.9 MB / 6.323 GB, free: 107 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007228/20.29, allocations: 3.543 MB / 6.327 GB, free: 106.4 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/20.3, allocations: 1.81 MB / 6.328 GB, free: 106.3 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/20.32, allocations: 7.613 MB / 6.336 GB, free: 104.4 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004872/20.32, allocations: 2.044 MB / 6.338 GB, free: 104.2 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003813/20.33, allocations: 278 kB / 6.338 GB, free: 104.1 MB / 1.26 GB Notification: Performance of pre-optimization done (n=309): time 3.032e-05/20.33, allocations: 2.094 kB / 6.338 GB, free: 104.1 MB / 1.26 GB Notification: Performance of matching and sorting (n=309): time 0.01282/20.34, allocations: 3.882 MB / 6.342 GB, free: 103.7 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/20.34, allocations: 292.4 kB / 6.342 GB, free: 103.4 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009273/20.35, allocations: 2.971 MB / 6.345 GB, free: 103.1 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/20.35, allocations: 89.55 kB / 6.345 GB, free: 103 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/20.35, allocations: 2.096 MB / 6.347 GB, free: 102.4 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/20.36, allocations: 1.046 MB / 6.348 GB, free: 101.7 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/20.36, allocations: 64.66 kB / 6.348 GB, free: 101.7 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0004001/20.36, allocations: 431.5 kB / 6.349 GB, free: 101.4 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/20.36, allocations: 1.441 MB / 6.35 GB, free: 101.4 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004398/20.37, allocations: 2.146 MB / 6.352 GB, free: 100.7 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/20.37, allocations: 1.653 MB / 6.354 GB, free: 100.6 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.815e-05/20.37, allocations: 4.375 kB / 6.354 GB, free: 100.6 MB / 1.26 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01229/20.38, allocations: 4.506 MB / 6.358 GB, free: 100.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001283/20.38, allocations: 5.716 MB / 6.364 GB, free: 94.34 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/20.38, allocations: 11.91 kB / 6.364 GB, free: 94.34 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/20.39, allocations: 481.3 kB / 6.364 GB, free: 94.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006215/20.39, allocations: 1.034 MB / 6.365 GB, free: 94.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/20.4, allocations: 7.144 MB / 6.372 GB, free: 88.25 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/20.41, allocations: 0.5893 MB / 6.373 GB, free: 88.23 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/20.41, allocations: 159.9 kB / 6.373 GB, free: 88.23 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/20.41, allocations: 7.281 kB / 6.373 GB, free: 88.23 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00965/20.42, allocations: 4.17 MB / 6.377 GB, free: 88 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/20.42, allocations: 14.34 kB / 6.377 GB, free: 88 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/20.42, allocations: 467.2 kB / 6.378 GB, free: 87.96 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005701/20.43, allocations: 1.019 MB / 6.379 GB, free: 87.96 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/20.43, allocations: 7.43 MB / 6.386 GB, free: 81.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007943/20.44, allocations: 0.5572 MB / 6.386 GB, free: 81.68 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/20.44, allocations: 157.2 kB / 6.387 GB, free: 81.68 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 390 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 4,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001255/20.44, allocations: 300.9 kB / 6.387 GB, free: 81.56 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/20.44, allocations: 443.6 kB / 6.387 GB, free: 81.33 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/20.46, allocations: 4.6 MB / 6.392 GB, free: 80.95 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/20.46, allocations: 35.72 kB / 6.392 GB, free: 80.95 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/20.46, allocations: 1.656 kB / 6.392 GB, free: 80.95 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007513/20.46, allocations: 3.556 MB / 6.395 GB, free: 80.65 MB / 1.26 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.02085/20.48, allocations: 9.541 MB / 6.405 GB, free: 79.87 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/20.48, allocations: 2.938 kB / 6.405 GB, free: 79.87 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00432/20.49, allocations: 0.7787 MB / 6.405 GB, free: 79.87 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/20.49, allocations: 364.1 kB / 6.406 GB, free: 79.82 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/20.49, allocations: 100.5 kB / 6.406 GB, free: 79.82 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006615/20.5, allocations: 9.135 MB / 6.415 GB, free: 71.71 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/20.5, allocations: 2.062 kB / 6.415 GB, free: 71.71 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/20.51, allocations: 6.285 MB / 6.421 GB, free: 70.84 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/20.52, allocations: 1.04 MB / 6.422 GB, free: 70.51 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/20.52, allocations: 60.69 kB / 6.422 GB, free: 70.51 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006232/20.52, allocations: 0.4902 MB / 6.422 GB, free: 70.49 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/20.52, allocations: 199.7 kB / 6.423 GB, free: 70.48 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004129/20.52, allocations: 137.2 kB / 6.423 GB, free: 70.48 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.00497/20.53, allocations: 2.279 MB / 6.425 GB, free: 70.28 MB / 1.26 GB Notification: Performance of sort global known variables: time 5.11e-07/20.53, allocations: 0 / 6.425 GB, free: 70.28 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01476/20.54, allocations: 3.375 MB / 6.428 GB, free: 69.84 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],cooCoi.heaCoo.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.medium.Xi[1],cooCoi.heaCooHum_u.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.m,cooCoi.dryWetCalcs.fullyWet.TWatOutEst,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 306 * 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: 6 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,1 4,1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02437/20.57, allocations: 14.2 MB / 6.442 GB, free: 64.99 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01773/20.59, allocations: 6.679 MB / 6.449 GB, free: 64.3 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/20.59, allocations: 4.25 kB / 6.449 GB, free: 64.3 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.004483/20.59, allocations: 2.457 MB / 6.451 GB, free: 63.73 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/20.6, allocations: 1.978 MB / 6.453 GB, free: 63.71 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/20.63, allocations: 8.798 MB / 6.462 GB, free: 61.8 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/20.63, allocations: 2.814 MB / 6.464 GB, free: 60.99 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01136/20.64, allocations: 1.872 MB / 6.466 GB, free: 60.95 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003912/20.65, allocations: 2.09 MB / 6.468 GB, free: 60.94 MB / 1.26 GB Notification: Performance of SimCode: time 1.332e-06/20.65, allocations: 0 / 6.468 GB, free: 60.94 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3772/21.02, allocations: 218.3 MB / 6.681 GB, free: 4.633 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/21.02, allocations: 231.9 kB / 6.682 GB, free: 4.402 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/32.68, allocations: 0 / 6.682 GB, free: 4.402 MB / 1.276 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2_res.mat does not exist to compare? outputFormat=mat