Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001245/0.001245, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 56.03 kB / 0.5014 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1422, allocations: 80.19 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.8503/0.9926, allocations: 290.8 MB / 0.8637 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02303/1.016, allocations: 22.9 MB / 0.886 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004118/1.02, allocations: 68.12 kB / 0.8861 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004546/1.024, allocations: 1.607 MB / 0.8877 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0137/1.038, allocations: 5.763 MB / 0.8933 GB, free: 1.023 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00743/1.046, allocations: 2.651 MB / 0.8959 GB, free: 0.957 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01056/1.056, allocations: 7.295 MB / 0.903 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005401/1.062, allocations: 2.878 MB / 0.9058 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009161/1.071, allocations: 2.927 MB / 0.9087 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006551/1.077, allocations: 2.872 MB / 0.9115 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/1.079, allocations: 342.2 kB / 0.9118 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/1.092, allocations: 6.223 MB / 0.9179 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002948/1.095, allocations: 1.466 MB / 0.9193 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004507/1.1, allocations: 1.909 MB / 0.9212 GB, free: 16.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.115, allocations: 7.302 MB / 0.9283 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/1.115, allocations: 0.8125 kB / 0.9283 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.555e-06/1.115, allocations: 0 / 0.9283 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001356/1.115, allocations: 0.8125 kB / 0.9283 GB, free: 15.52 MB / 0.6856 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.01073/1.125, allocations: 4.095 MB / 0.9323 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.126, allocations: 9.906 kB / 0.9323 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004815/1.126, allocations: 400.3 kB / 0.9327 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005369/1.131, allocations: 0.8405 MB / 0.9335 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/1.134, allocations: 1.789 MB / 0.9353 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.135, allocations: 208.5 kB / 0.9355 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/1.135, allocations: 285.6 kB / 0.9357 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/1.141, allocations: 3.592 MB / 0.9393 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/1.141, allocations: 8.094 kB / 0.9393 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/1.141, allocations: 116.9 kB / 0.9394 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/1.141, allocations: 148.6 kB / 0.9395 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/1.146, allocations: 3.276 MB / 0.9427 GB, free: 12.14 MB / 0.6856 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.01455/1.16, allocations: 14.12 MB / 0.9565 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/1.164, allocations: 2.514 MB / 0.959 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/1.165, allocations: 1.357 MB / 0.9603 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.166, allocations: 1.376 MB / 0.9616 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/1.168, allocations: 1.226 MB / 0.9628 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.847e-06/1.168, allocations: 0 / 0.9628 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005238/1.173, allocations: 3.164 MB / 0.9659 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.173, allocations: 78.83 kB / 0.966 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.175, allocations: 1.45 MB / 0.9674 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.175, allocations: 69.7 kB / 0.9675 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/1.176, allocations: 1.115 MB / 0.9686 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000632/1.177, allocations: 0.7364 MB / 0.9693 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/1.177, allocations: 364.9 kB / 0.9696 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/1.178, allocations: 305.1 kB / 0.9699 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.179, allocations: 0.9097 MB / 0.9708 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.181, allocations: 1.265 MB / 0.972 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/1.184, allocations: 2.32 MB / 0.9743 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.184, allocations: 6.625 kB / 0.9743 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004056/1.188, allocations: 2.594 MB / 0.9769 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/1.188, allocations: 37.7 kB / 0.9769 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.188, allocations: 8 kB / 0.9769 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.188, allocations: 16 kB / 0.9769 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.19, allocations: 465.1 kB / 0.9774 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/1.19, allocations: 26.36 kB / 0.9774 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.192, allocations: 356.4 kB / 0.9777 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.193, allocations: 79.98 kB / 0.9778 GB, free: 160 kB / 0.7012 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.001215/1.194, allocations: 0.6864 MB / 0.9785 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/1.194, allocations: 217.4 kB / 0.9787 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/1.198, allocations: 2.515 MB / 0.9811 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.198, allocations: 20 kB / 0.9812 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.198, allocations: 0 / 0.9812 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003087/1.201, allocations: 2.333 MB / 0.9834 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/1.21, allocations: 5.598 MB / 0.9889 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.21, allocations: 4 kB / 0.9889 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.212, allocations: 482.9 kB / 0.9894 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/1.212, allocations: 12 kB / 0.9894 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.212, allocations: 55.91 kB / 0.9894 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/1.212, allocations: 16 kB / 0.9894 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.212, allocations: 6.625 kB / 0.9894 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/1.218, allocations: 3.984 MB / 0.9933 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.219, allocations: 0.5409 MB / 0.9939 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/1.219, allocations: 47.92 kB / 0.9939 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.221, allocations: 250.7 kB / 0.9941 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/1.221, allocations: 144.3 kB / 0.9943 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.221, allocations: 67.98 kB / 0.9944 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001292/1.223, allocations: 0.9905 MB / 0.9953 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.223, allocations: 0 / 0.9953 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002037/1.225, allocations: 0.9312 MB / 0.9962 GB, free: 13.15 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.006071/1.231, allocations: 4.825 MB / 1.001 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007266/1.238, allocations: 3.878 MB / 1.005 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.238, allocations: 4 kB / 1.005 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.24, allocations: 1.227 MB / 1.006 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.245, allocations: 1.289 MB / 1.007 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.273, allocations: 21.33 MB / 1.028 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.275, allocations: 1.971 MB / 1.03 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002624/1.277, allocations: 0.7251 MB / 1.031 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.279, allocations: 1.097 MB / 1.032 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/1.279, allocations: 0 / 1.032 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.393, allocations: 64.72 MB / 1.095 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.394, allocations: 241.8 kB / 1.095 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/5.441, allocations: 3.938 kB / 1.095 GB, free: 7.598 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)