Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 94.03 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009265, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.488/2.488, allocations: 409.4 MB / 0.684 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6228, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2619/0.8847, allocations: 268.8 MB / 1.244 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6567/1.541, allocations: 21.5 MB / 1.265 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/1.545, allocations: 63.47 kB / 1.265 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0038/1.549, allocations: 1.171 MB / 1.266 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01282/1.562, allocations: 4.458 MB / 1.27 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007037/1.569, allocations: 2.056 MB / 1.272 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01158/1.58, allocations: 8.952 MB / 1.281 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/1.584, allocations: 2.244 MB / 1.283 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/1.59, allocations: 2.361 MB / 1.285 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/1.595, allocations: 2.614 MB / 1.288 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005294/1.595, allocations: 165.3 kB / 1.288 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009189/1.604, allocations: 3.137 MB / 1.291 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/1.606, allocations: 1.277 MB / 1.292 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/1.609, allocations: 0.6783 MB / 1.293 GB, free: 26.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007521/1.616, allocations: 4.654 MB / 1.298 GB, free: 26.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.616, allocations: 0 / 1.298 GB, free: 26.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/1.616, allocations: 4 kB / 1.298 GB, free: 26.1 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001997/1.617, allocations: 0 / 1.298 GB, free: 26.1 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01025/1.627, allocations: 3.523 MB / 1.301 GB, free: 24.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.627, allocations: 8.125 kB / 1.301 GB, free: 24.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/1.628, allocations: 395.3 kB / 1.301 GB, free: 24.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/1.634, allocations: 0.8519 MB / 1.302 GB, free: 24.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/1.639, allocations: 1.855 MB / 1.304 GB, free: 23.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/1.639, allocations: 212 kB / 1.304 GB, free: 23.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008581/1.64, allocations: 281.9 kB / 1.305 GB, free: 23.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007842/1.648, allocations: 3.583 MB / 1.308 GB, free: 23.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.648, allocations: 5.688 kB / 1.308 GB, free: 23.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/1.648, allocations: 120.6 kB / 1.308 GB, free: 23.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.648, allocations: 146.7 kB / 1.308 GB, free: 23.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006352/1.655, allocations: 3.29 MB / 1.312 GB, free: 23.36 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01731/1.672, allocations: 14.18 MB / 1.325 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/1.676, allocations: 2.501 MB / 1.328 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.678, allocations: 1.36 MB / 1.329 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.679, allocations: 1.382 MB / 1.331 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/1.681, allocations: 1.241 MB / 1.332 GB, free: 13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=216): time 6.482e-06/1.681, allocations: 5.891 kB / 1.332 GB, free: 13 MB / 1.014 GB Notification: Performance of matching and sorting (n=216): time 0.005608/1.687, allocations: 3.21 MB / 1.335 GB, free: 12.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.687, allocations: 74.81 kB / 1.335 GB, free: 12.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.689, allocations: 1.441 MB / 1.336 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.689, allocations: 65.61 kB / 1.336 GB, free: 12.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008435/1.69, allocations: 1.113 MB / 1.338 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/1.691, allocations: 0.744 MB / 1.338 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/1.691, allocations: 45.56 kB / 1.338 GB, free: 11.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.691, allocations: 390.1 kB / 1.339 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.692, allocations: 0.9199 MB / 1.34 GB, free: 10.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/1.694, allocations: 1.279 MB / 1.341 GB, free: 10.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.696, allocations: 1.135 MB / 1.342 GB, free: 10.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.696, allocations: 0 / 1.342 GB, free: 10.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004243/1.7, allocations: 2.621 MB / 1.344 GB, free: 9.805 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.7, allocations: 35.86 kB / 1.345 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.7, allocations: 6.031 kB / 1.345 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/1.7, allocations: 18.88 kB / 1.345 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.702, allocations: 484.1 kB / 1.345 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.193e-05/1.702, allocations: 25.3 kB / 1.345 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/1.705, allocations: 409.4 kB / 1.345 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.705, allocations: 77.73 kB / 1.345 GB, free: 9.508 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001331/1.707, allocations: 0.6869 MB / 1.346 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.707, allocations: 212.7 kB / 1.346 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/1.711, allocations: 2.564 MB / 1.349 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.711, allocations: 19.47 kB / 1.349 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.711, allocations: 3.156 kB / 1.349 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003363/1.715, allocations: 2.353 MB / 1.351 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009319/1.724, allocations: 5.655 MB / 1.357 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.724, allocations: 0 / 1.357 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.726, allocations: 498.2 kB / 1.357 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.969e-05/1.726, allocations: 9.531 kB / 1.357 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.727, allocations: 53.77 kB / 1.357 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/1.727, allocations: 11.58 kB / 1.357 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.727, allocations: 5.781 kB / 1.357 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/1.733, allocations: 3.831 MB / 1.361 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.734, allocations: 0.5446 MB / 1.362 GB, free: 5.223 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/1.735, allocations: 47.48 kB / 1.362 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.737, allocations: 246.7 kB / 1.362 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/1.737, allocations: 152 kB / 1.362 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.738, allocations: 74.94 kB / 1.362 GB, free: 5.055 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001463/1.739, allocations: 0.9759 MB / 1.363 GB, free: 4.785 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.739, allocations: 0 / 1.363 GB, free: 4.785 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002435/1.742, allocations: 0.941 MB / 1.364 GB, free: 4.652 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006388/1.748, allocations: 4.697 MB / 1.368 GB, free: 3.227 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003795/1.752, allocations: 2.352 MB / 1.371 GB, free: 2.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.752, allocations: 3.031 kB / 1.371 GB, free: 2.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.754, allocations: 1.236 MB / 1.372 GB, free: 2.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005805/1.759, allocations: 1.256 MB / 1.373 GB, free: 1.066 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/1.787, allocations: 16.6 MB / 1.389 GB, free: 2.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.789, allocations: 1.97 MB / 1.391 GB, free: 472 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003126/1.792, allocations: 0.7375 MB / 1.392 GB, free: 15.72 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.794, allocations: 1.1 MB / 1.393 GB, free: 15.45 MB / 1.045 GB Notification: Performance of SimCode: time 1.884e-06/1.794, allocations: 0 / 1.393 GB, free: 15.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.898, allocations: 65.78 MB / 1.457 GB, free: 14.51 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.899, allocations: 240.7 kB / 1.458 GB, free: 14.26 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/5.296, allocations: 0 / 1.458 GB, free: 14.26 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat does not exist to compare? outputFormat=mat