Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_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.005899/0.005898, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001305/0.001305, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 58.34 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2153, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7455/0.9609, allocations: 294.2 MB / 1.375 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02909/0.99, allocations: 23.06 MB / 1.397 GB, free: 2.516 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.994, allocations: 77.97 kB / 1.397 GB, free: 2.516 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.9983, allocations: 1.804 MB / 1.399 GB, free: 1.988 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.013, allocations: 6.12 MB / 1.405 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007297/1.02, allocations: 2.893 MB / 1.408 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008176/1.029, allocations: 7.293 MB / 1.415 GB, free: 9.023 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/1.032, allocations: 2.982 MB / 1.418 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/1.038, allocations: 2.872 MB / 1.421 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/1.042, allocations: 2.705 MB / 1.423 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/1.043, allocations: 341.2 kB / 1.424 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/1.054, allocations: 5.983 MB / 1.43 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/1.055, allocations: 1.46 MB / 1.431 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/1.057, allocations: 1.91 MB / 1.433 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.068, allocations: 6.934 MB / 1.44 GB, free: 7.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.068, allocations: 0 / 1.44 GB, free: 7.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.068, allocations: 4 kB / 1.44 GB, free: 7.184 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.065e-05/1.068, allocations: 0 / 1.44 GB, free: 7.184 MB / 1.061 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.008778/1.076, allocations: 4.092 MB / 1.444 GB, free: 3.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.077, allocations: 8.031 kB / 1.444 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005195/1.077, allocations: 392.1 kB / 1.444 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/1.082, allocations: 0.843 MB / 1.445 GB, free: 1.773 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/1.086, allocations: 1.861 MB / 1.447 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.086, allocations: 205.4 kB / 1.447 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/1.087, allocations: 279.9 kB / 1.447 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/1.093, allocations: 3.597 MB / 1.451 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/1.093, allocations: 7.938 kB / 1.451 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/1.093, allocations: 116 kB / 1.451 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.093, allocations: 145.3 kB / 1.451 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005847/1.099, allocations: 3.284 MB / 1.454 GB, free: 8.094 MB / 1.076 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.01801/1.117, allocations: 14.22 MB / 1.468 GB, free: 8.641 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/1.121, allocations: 2.487 MB / 1.471 GB, free: 6.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.123, allocations: 1.349 MB / 1.472 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.124, allocations: 1.375 MB / 1.473 GB, free: 3.062 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/1.126, allocations: 1.218 MB / 1.474 GB, free: 1.832 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 4.298e-06/1.126, allocations: 4 kB / 1.474 GB, free: 1.828 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.006091/1.132, allocations: 3.171 MB / 1.477 GB, free: 14.65 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.133, allocations: 77.41 kB / 1.478 GB, free: 14.56 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.135, allocations: 1.452 MB / 1.479 GB, free: 13.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/1.135, allocations: 69.7 kB / 1.479 GB, free: 13.03 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.136, allocations: 1.119 MB / 1.48 GB, free: 11.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007391/1.137, allocations: 0.7315 MB / 1.481 GB, free: 11.16 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/1.137, allocations: 363.5 kB / 1.481 GB, free: 10.79 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.137, allocations: 305.1 kB / 1.481 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.139, allocations: 0.9097 MB / 1.482 GB, free: 9.578 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/1.141, allocations: 1.255 MB / 1.484 GB, free: 8.203 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/1.144, allocations: 2.325 MB / 1.486 GB, free: 5.773 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.144, allocations: 0 / 1.486 GB, free: 5.773 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004427/1.149, allocations: 2.597 MB / 1.488 GB, free: 3.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/1.149, allocations: 41.69 kB / 1.488 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.149, allocations: 11.94 kB / 1.488 GB, free: 3.102 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/1.149, allocations: 19.98 kB / 1.488 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.151, allocations: 468 kB / 1.489 GB, free: 2.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.532e-05/1.151, allocations: 27.86 kB / 1.489 GB, free: 2.598 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.153, allocations: 186 kB / 1.489 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.153, allocations: 79.98 kB / 1.489 GB, free: 2.336 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001521/1.155, allocations: 0.6889 MB / 1.49 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/1.155, allocations: 217.5 kB / 1.49 GB, free: 1.422 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/1.16, allocations: 2.512 MB / 1.493 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/1.16, allocations: 20 kB / 1.493 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.16, allocations: 4 kB / 1.493 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003599/1.163, allocations: 2.335 MB / 1.495 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/1.173, allocations: 5.608 MB / 1.5 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.173, allocations: 4.312 kB / 1.5 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.175, allocations: 475.4 kB / 1.501 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/1.175, allocations: 12 kB / 1.501 GB, free: 6.262 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.176, allocations: 51.97 kB / 1.501 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.176, allocations: 16 kB / 1.501 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.176, allocations: 7.938 kB / 1.501 GB, free: 6.188 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00628/1.182, allocations: 3.794 MB / 1.505 GB, free: 2.348 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.183, allocations: 0.5409 MB / 1.505 GB, free: 1.785 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/1.183, allocations: 48.05 kB / 1.505 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.185, allocations: 69.28 kB / 1.505 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/1.185, allocations: 145.7 kB / 1.505 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.185, allocations: 71.97 kB / 1.505 GB, free: 1.457 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001371/1.187, allocations: 0.9866 MB / 1.506 GB, free: 488 kB / 1.123 GB Notification: Performance of sort global known variables: time 4.11e-07/1.187, allocations: 0 / 1.506 GB, free: 488 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002405/1.189, allocations: 0.9313 MB / 1.507 GB, free: 15.54 MB / 1.139 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 (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007029/1.196, allocations: 4.627 MB / 1.512 GB, free: 10.87 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004276/1.2, allocations: 2.344 MB / 1.514 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.2, allocations: 7.938 kB / 1.514 GB, free: 8.504 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/1.203, allocations: 1.22 MB / 1.515 GB, free: 7.289 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/1.208, allocations: 1.283 MB / 1.517 GB, free: 6.027 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/1.244, allocations: 18.53 MB / 1.535 GB, free: 2.996 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/1.247, allocations: 1.971 MB / 1.537 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003206/1.25, allocations: 0.7288 MB / 1.537 GB, free: 264 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.252, allocations: 1.093 MB / 1.538 GB, free: 15.16 MB / 1.17 GB Notification: Performance of SimCode: time 1.263e-06/1.252, allocations: 3.938 kB / 1.538 GB, free: 15.16 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/1.425, allocations: 65.7 MB / 1.602 GB, free: 14.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.79, allocations: 10.73 kB / 1.602 GB, free: 14.09 MB / 1.232 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)