Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",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.326/2.326, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.00117/0.00117, allocations: 169 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.639/1.639, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.001058/0.001057, allocations: 91.89 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.624e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2985, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.497/7.796, allocations: 2.345 GB / 3.557 GB, free: 406.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/7.796, allocations: 88.39 kB / 3.557 GB, free: 406.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 12.58/20.38, allocations: 2.722 GB / 6.279 GB, free: 117.7 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.565e-06/20.38, allocations: 0 / 6.279 GB, free: 117.7 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001147/20.38, allocations: 129.9 kB / 6.279 GB, free: 117.7 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: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.02498/20.41, allocations: 5.644 MB / 6.285 GB, free: 115.7 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/20.41, allocations: 16.61 kB / 6.285 GB, free: 115.7 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003172/20.41, allocations: 0.5338 MB / 6.286 GB, free: 115.6 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02563/20.44, allocations: 3.34 MB / 6.289 GB, free: 115.3 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/20.46, allocations: 5.159 MB / 6.294 GB, free: 114.7 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005946/20.46, allocations: 353.7 kB / 6.294 GB, free: 114.6 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/20.46, allocations: 412.7 kB / 6.295 GB, free: 114.6 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/20.48, allocations: 4.862 MB / 6.299 GB, free: 114.2 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/20.48, allocations: 5.25 kB / 6.299 GB, free: 114.2 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009527/20.48, allocations: 172.7 kB / 6.299 GB, free: 114.2 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004391/20.48, allocations: 164.7 kB / 6.3 GB, free: 114.2 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/20.5, allocations: 4.851 MB / 6.304 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.06111/20.56, allocations: 20.79 MB / 6.325 GB, free: 107.1 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009586/20.57, allocations: 3.727 MB / 6.328 GB, free: 106.5 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/20.57, allocations: 1.895 MB / 6.33 GB, free: 106.5 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02227/20.6, allocations: 8.092 MB / 6.338 GB, free: 104.2 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004479/20.6, allocations: 2.154 MB / 6.34 GB, free: 104.1 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003317/20.6, allocations: 277.3 kB / 6.34 GB, free: 104 MB / 1.26 GB Notification: Performance of pre-optimization done (n=324): time 2.874e-05/20.6, allocations: 0 / 6.34 GB, free: 104 MB / 1.26 GB Notification: Performance of matching and sorting (n=330): time 0.02324/20.63, allocations: 8.594 MB / 6.349 GB, free: 102.5 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/20.63, allocations: 274.7 kB / 6.349 GB, free: 102.2 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006568/20.63, allocations: 2.859 MB / 6.352 GB, free: 101.9 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/20.64, allocations: 94.95 kB / 6.352 GB, free: 101.9 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002455/20.64, allocations: 2.069 MB / 6.354 GB, free: 101.2 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/20.64, allocations: 1.111 MB / 6.355 GB, free: 100.5 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/20.64, allocations: 70.39 kB / 6.355 GB, free: 100.5 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002173/20.64, allocations: 438.4 kB / 6.356 GB, free: 100.2 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/20.64, allocations: 1.494 MB / 6.357 GB, free: 100.2 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/20.65, allocations: 2.202 MB / 6.359 GB, free: 99.48 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/20.65, allocations: 1.703 MB / 6.361 GB, free: 99.42 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/20.65, allocations: 5.984 kB / 6.361 GB, free: 99.42 MB / 1.26 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01083/20.66, allocations: 4.837 MB / 6.366 GB, free: 99.02 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/20.66, allocations: 5.713 MB / 6.371 GB, free: 93.14 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/20.66, allocations: 16.66 kB / 6.371 GB, free: 93.14 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/20.66, allocations: 0.7038 MB / 6.372 GB, free: 93.09 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005725/20.67, allocations: 1.013 MB / 6.373 GB, free: 93.09 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009648/20.68, allocations: 9.865 MB / 6.382 GB, free: 86.26 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/20.69, allocations: 0.5522 MB / 6.383 GB, free: 86.23 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/20.69, allocations: 161.3 kB / 6.383 GB, free: 86.23 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/20.69, allocations: 3.344 kB / 6.383 GB, free: 86.23 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/20.7, allocations: 4.513 MB / 6.388 GB, free: 85.98 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/20.7, allocations: 15.84 kB / 6.388 GB, free: 85.98 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/20.7, allocations: 0.6978 MB / 6.388 GB, free: 85.93 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/20.71, allocations: 1.013 MB / 6.389 GB, free: 85.93 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/20.72, allocations: 10.72 MB / 6.4 GB, free: 78.29 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007861/20.72, allocations: 0.5499 MB / 6.4 GB, free: 78.26 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/20.73, allocations: 159.5 kB / 6.4 GB, free: 78.26 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: 12 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (386): * Single equations (assignments): 378 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 2,3 22,1 2,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002121/20.73, allocations: 308 kB / 6.401 GB, free: 78.14 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/20.73, allocations: 442.5 kB / 6.401 GB, free: 77.92 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/20.74, allocations: 4.889 MB / 6.406 GB, free: 77.54 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/20.74, allocations: 34.06 kB / 6.406 GB, free: 77.54 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/20.74, allocations: 7.641 kB / 6.406 GB, free: 77.54 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008055/20.75, allocations: 3.795 MB / 6.41 GB, free: 77.24 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.02078/20.77, allocations: 10.02 MB / 6.419 GB, free: 76.43 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/20.77, allocations: 0 / 6.419 GB, free: 76.43 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0047/20.78, allocations: 0.8601 MB / 6.42 GB, free: 76.43 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/20.78, allocations: 391.5 kB / 6.421 GB, free: 76.38 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003741/20.78, allocations: 104 kB / 6.421 GB, free: 76.38 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/20.78, allocations: 9.163 MB / 6.43 GB, free: 68.29 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/20.78, allocations: 0 / 6.43 GB, free: 68.29 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/20.8, allocations: 6.733 MB / 6.436 GB, free: 67.43 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004115/20.8, allocations: 1.053 MB / 6.437 GB, free: 67.1 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/20.8, allocations: 65.41 kB / 6.437 GB, free: 67.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006362/20.81, allocations: 0.5217 MB / 6.438 GB, free: 67.09 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005638/20.81, allocations: 228.9 kB / 6.438 GB, free: 67.08 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005507/20.81, allocations: 148.2 kB / 6.438 GB, free: 67.08 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.005249/20.82, allocations: 2.183 MB / 6.44 GB, free: 66.88 MB / 1.26 GB Notification: Performance of sort global known variables: time 6.71e-07/20.82, allocations: 0 / 6.44 GB, free: 66.88 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01591/20.83, allocations: 3.026 MB / 6.443 GB, free: 66.75 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.X[2],vol.dynBal.medium.dT,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: 6 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 330 * 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%) 1,(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.02701/20.86, allocations: 14.67 MB / 6.458 GB, free: 61.9 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01766/20.88, allocations: 7.341 MB / 6.465 GB, free: 60.94 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/20.88, allocations: 4.094 kB / 6.465 GB, free: 60.94 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.004693/20.88, allocations: 2.608 MB / 6.467 GB, free: 60.37 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/20.89, allocations: 1.955 MB / 6.469 GB, free: 60.34 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/20.92, allocations: 8.94 MB / 6.478 GB, free: 58.41 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/20.92, allocations: 2.859 MB / 6.481 GB, free: 57.59 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01144/20.93, allocations: 1.874 MB / 6.483 GB, free: 57.55 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003905/20.94, allocations: 2.113 MB / 6.485 GB, free: 57.55 MB / 1.26 GB Notification: Performance of SimCode: time 1.613e-06/20.94, allocations: 0 / 6.485 GB, free: 57.55 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3748/21.31, allocations: 223 MB / 6.702 GB, free: 4.012 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/21.31, allocations: 234.9 kB / 6.703 GB, free: 3.773 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/32.99, allocations: 4.062 kB / 6.703 GB, free: 3.77 MB / 1.292 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3_fmu --startTime=1.5552e+07 --stopTime=1.56384e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3_res.mat does not exist to compare? outputFormat=mat