Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_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.001182/0.001182, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001159/0.001159, allocations: 193 kB / 16.25 MB, free: 6.629 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.224/2.224, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 55.91 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4561, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6645/1.121, allocations: 290.9 MB / 1.301 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02051/1.141, allocations: 22.92 MB / 1.323 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.143, allocations: 71.78 kB / 1.323 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.147, allocations: 1.603 MB / 1.325 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.158, allocations: 5.761 MB / 1.331 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/1.163, allocations: 2.667 MB / 1.333 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005798/1.169, allocations: 7.302 MB / 1.34 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/1.171, allocations: 2.876 MB / 1.343 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/1.176, allocations: 2.919 MB / 1.346 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/1.179, allocations: 2.877 MB / 1.349 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/1.179, allocations: 342 kB / 1.349 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008348/1.187, allocations: 6.223 MB / 1.355 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.188, allocations: 1.471 MB / 1.357 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/1.19, allocations: 1.903 MB / 1.358 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008071/1.198, allocations: 7.293 MB / 1.366 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.198, allocations: 0 / 1.366 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/1.198, allocations: 0 / 1.366 GB, free: 14.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.324e-05/1.198, allocations: 0 / 1.366 GB, free: 14.94 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.007825/1.206, allocations: 4.097 MB / 1.37 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/1.206, allocations: 10.62 kB / 1.37 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000403/1.207, allocations: 392.8 kB / 1.37 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/1.211, allocations: 0.8409 MB / 1.371 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/1.214, allocations: 1.789 MB / 1.373 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.214, allocations: 212.2 kB / 1.373 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/1.214, allocations: 278.4 kB / 1.373 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.219, allocations: 3.593 MB / 1.377 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/1.219, allocations: 9.375 kB / 1.377 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/1.219, allocations: 112 kB / 1.377 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/1.219, allocations: 143.1 kB / 1.377 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004525/1.224, allocations: 3.288 MB / 1.38 GB, free: 7.402 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.0119/1.236, allocations: 14.15 MB / 1.394 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/1.239, allocations: 2.497 MB / 1.396 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.24, allocations: 1.362 MB / 1.398 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.241, allocations: 1.376 MB / 1.399 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/1.243, allocations: 1.222 MB / 1.4 GB, free: 5.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 3.797e-06/1.243, allocations: 0 / 1.4 GB, free: 5.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.004814/1.248, allocations: 3.164 MB / 1.403 GB, free: 2.449 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.248, allocations: 81.41 kB / 1.403 GB, free: 2.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/1.25, allocations: 1.452 MB / 1.405 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/1.25, allocations: 69.7 kB / 1.405 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/1.25, allocations: 1.117 MB / 1.406 GB, free: 15.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/1.251, allocations: 0.7333 MB / 1.407 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/1.251, allocations: 355.5 kB / 1.407 GB, free: 14.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/1.251, allocations: 305.1 kB / 1.407 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.253, allocations: 0.9136 MB / 1.408 GB, free: 13.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.254, allocations: 1.254 MB / 1.409 GB, free: 12.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/1.257, allocations: 2.327 MB / 1.412 GB, free: 9.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/1.257, allocations: 7.938 kB / 1.412 GB, free: 9.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003623/1.261, allocations: 2.593 MB / 1.414 GB, free: 7.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.261, allocations: 33.7 kB / 1.414 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.261, allocations: 8 kB / 1.414 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.261, allocations: 16.72 kB / 1.414 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.263, allocations: 470.4 kB / 1.415 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.263, allocations: 19.09 kB / 1.415 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.265, allocations: 401.7 kB / 1.415 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.265, allocations: 79.98 kB / 1.415 GB, free: 6.059 MB / 1.045 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.0008745/1.266, allocations: 0.6951 MB / 1.416 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/1.266, allocations: 217.4 kB / 1.416 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/1.27, allocations: 2.519 MB / 1.418 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.27, allocations: 20 kB / 1.418 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.27, allocations: 4 kB / 1.418 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/1.273, allocations: 2.33 MB / 1.421 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/1.281, allocations: 5.602 MB / 1.426 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.281, allocations: 8.25 kB / 1.426 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.283, allocations: 477.4 kB / 1.427 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/1.283, allocations: 15.98 kB / 1.427 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.283, allocations: 51.98 kB / 1.427 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.283, allocations: 16 kB / 1.427 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.283, allocations: 11.78 kB / 1.427 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/1.288, allocations: 3.791 MB / 1.431 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/1.289, allocations: 0.541 MB / 1.431 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/1.289, allocations: 40 kB / 1.431 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.291, allocations: 250.7 kB / 1.431 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.291, allocations: 149.8 kB / 1.431 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.291, allocations: 75.91 kB / 1.432 GB, free: 5.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001069/1.292, allocations: 0.9866 MB / 1.432 GB, free: 4.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 1.432 GB, free: 4.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001703/1.294, allocations: 0.9312 MB / 1.433 GB, free: 3.219 MB / 1.061 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.005654/1.3, allocations: 4.627 MB / 1.438 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006863/1.306, allocations: 3.878 MB / 1.442 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.307, allocations: 4.062 kB / 1.442 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/1.308, allocations: 1.226 MB / 1.443 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/1.313, allocations: 1.298 MB / 1.444 GB, free: 8.305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/1.339, allocations: 21.36 MB / 1.465 GB, free: 1.633 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.34, allocations: 1.971 MB / 1.467 GB, free: 15.62 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002403/1.343, allocations: 0.7328 MB / 1.468 GB, free: 14.89 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.344, allocations: 1.097 MB / 1.469 GB, free: 13.79 MB / 1.107 GB Notification: Performance of SimCode: time 7.61e-07/1.344, allocations: 0 / 1.469 GB, free: 13.79 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/1.428, allocations: 64.64 MB / 1.532 GB, free: 13.98 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.428, allocations: 249.9 kB / 1.532 GB, free: 13.73 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.611, allocations: 0 / 1.532 GB, free: 13.73 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)