Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_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.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.009892/0.009892, allocations: 285.4 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.33/1.33, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 96.56 kB / 0.5953 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 86.99 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5323/0.6744, allocations: 294.2 MB / 0.9676 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.7028, allocations: 23.05 MB / 0.9901 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.7064, allocations: 75.62 kB / 0.9902 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.7108, allocations: 1.798 MB / 0.992 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.7254, allocations: 6.127 MB / 0.9979 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007012/0.7324, allocations: 2.876 MB / 1.001 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008837/0.7412, allocations: 7.294 MB / 1.008 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.7452, allocations: 2.977 MB / 1.011 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.7506, allocations: 2.869 MB / 1.014 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.7545, allocations: 2.701 MB / 1.016 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.755, allocations: 344 kB / 1.017 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.7658, allocations: 5.993 MB / 1.022 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.7673, allocations: 1.465 MB / 1.024 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.7697, allocations: 1.902 MB / 1.026 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.7802, allocations: 6.884 MB / 1.032 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7802, allocations: 4 kB / 1.032 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7802, allocations: 0 / 1.032 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.775e-05/0.7803, allocations: 0 / 1.032 GB, free: 14.28 MB / 0.7481 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.009363/0.7896, allocations: 4.102 MB / 1.036 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7897, allocations: 12.03 kB / 1.036 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004553/0.7902, allocations: 392.1 kB / 1.037 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.7957, allocations: 0.8468 MB / 1.038 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.7987, allocations: 1.783 MB / 1.039 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.7988, allocations: 209.4 kB / 1.04 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.7992, allocations: 279.9 kB / 1.04 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005452/0.8047, allocations: 3.601 MB / 1.043 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.8048, allocations: 0 / 1.043 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.805, allocations: 116 kB / 1.043 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.8052, allocations: 149.3 kB / 1.044 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00536/0.8106, allocations: 3.292 MB / 1.047 GB, free: 15.24 MB / 0.7637 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.2873/1.098, allocations: 14.3 MB / 1.061 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/1.102, allocations: 2.473 MB / 1.063 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/1.104, allocations: 1.353 MB / 1.065 GB, free: 290.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009291/1.105, allocations: 1.381 MB / 1.066 GB, free: 289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/1.107, allocations: 1.221 MB / 1.067 GB, free: 288.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.047e-06/1.107, allocations: 0 / 1.067 GB, free: 288.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005443/1.112, allocations: 3.166 MB / 1.07 GB, free: 287.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.113, allocations: 88.02 kB / 1.07 GB, free: 287.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/1.114, allocations: 1.45 MB / 1.072 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.114, allocations: 71.06 kB / 1.072 GB, free: 286.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/1.115, allocations: 1.118 MB / 1.073 GB, free: 286.1 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/1.115, allocations: 0.7328 MB / 1.074 GB, free: 285.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004789/1.116, allocations: 356.1 kB / 1.074 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/1.116, allocations: 305.9 kB / 1.074 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.117, allocations: 0.9149 MB / 1.075 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.119, allocations: 1.252 MB / 1.076 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/1.122, allocations: 2.321 MB / 1.079 GB, free: 282.9 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.122, allocations: 6.031 kB / 1.079 GB, free: 282.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004012/1.126, allocations: 2.596 MB / 1.081 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/1.126, allocations: 36.2 kB / 1.081 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.126, allocations: 7.375 kB / 1.081 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/1.126, allocations: 16.38 kB / 1.081 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.128, allocations: 469.8 kB / 1.082 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.128, allocations: 24.11 kB / 1.082 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.13, allocations: 200.9 kB / 1.082 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.13, allocations: 78.56 kB / 1.082 GB, free: 281.6 MB / 0.7637 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.00114/1.131, allocations: 0.6848 MB / 1.083 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/1.132, allocations: 213.8 kB / 1.083 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/1.136, allocations: 2.515 MB / 1.085 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/1.136, allocations: 20.75 kB / 1.085 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.136, allocations: 1.797 kB / 1.085 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003423/1.14, allocations: 2.333 MB / 1.088 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008291/1.148, allocations: 5.609 MB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.148, allocations: 2.75 kB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.15, allocations: 478.9 kB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.15, allocations: 9.25 kB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.151, allocations: 56.39 kB / 1.094 GB, free: 276.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/1.151, allocations: 16.23 kB / 1.094 GB, free: 276.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.151, allocations: 3.281 kB / 1.094 GB, free: 276.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/1.156, allocations: 3.799 MB / 1.097 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.157, allocations: 0.5434 MB / 1.098 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/1.157, allocations: 44.94 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.159, allocations: 55.44 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.159, allocations: 157.5 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.159, allocations: 70.8 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001152/1.16, allocations: 0.9934 MB / 1.099 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.16, allocations: 0 / 1.099 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001933/1.162, allocations: 0.9312 MB / 1.1 GB, free: 273.9 MB / 0.7637 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.005941/1.168, allocations: 4.625 MB / 1.104 GB, free: 271.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00708/1.175, allocations: 3.886 MB / 1.108 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.175, allocations: 0 / 1.108 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.177, allocations: 1.221 MB / 1.109 GB, free: 269.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/1.182, allocations: 1.292 MB / 1.111 GB, free: 268.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.205, allocations: 20.26 MB / 1.131 GB, free: 247.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.206, allocations: 1.971 MB / 1.132 GB, free: 245.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002509/1.209, allocations: 0.7198 MB / 1.133 GB, free: 244.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.21, allocations: 1.097 MB / 1.134 GB, free: 243.5 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.21, allocations: 4 kB / 1.134 GB, free: 243.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08969/1.3, allocations: 65.13 MB / 1.198 GB, free: 179.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/10.17, allocations: 3.938 kB / 1.198 GB, free: 179.1 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)