Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_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.001792/0.001798, allocations: 111.9 kB / 15.61 MB, free: 128 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.002421/0.002421, allocations: 192.7 kB / 16.53 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.674/2.674, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.526/1.526, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 64.34 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2398, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.549/1.789, allocations: 294.2 MB / 0.8718 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04386/1.832, allocations: 23.03 MB / 0.8943 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005707/1.838, allocations: 76.53 kB / 0.8943 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007313/1.846, allocations: 1.799 MB / 0.8961 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02368/1.869, allocations: 6.112 MB / 0.9021 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/1.882, allocations: 2.88 MB / 0.9049 GB, free: 1.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01668/1.899, allocations: 7.303 MB / 0.912 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008095/1.907, allocations: 2.976 MB / 0.9149 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/1.918, allocations: 2.875 MB / 0.9177 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008284/1.926, allocations: 2.708 MB / 0.9204 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002392/1.929, allocations: 341.3 kB / 0.9207 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/1.945, allocations: 5.982 MB / 0.9265 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004647/1.95, allocations: 1.464 MB / 0.928 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007304/1.957, allocations: 1.911 MB / 0.9298 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02202/1.979, allocations: 6.891 MB / 0.9366 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.979, allocations: 0 / 0.9366 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.995e-06/1.979, allocations: 0 / 0.9366 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002965/1.98, allocations: 0 / 0.9366 GB, free: 15.45 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.01756/1.997, allocations: 4.098 MB / 0.9406 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.997, allocations: 9.781 kB / 0.9406 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/1.998, allocations: 395.4 kB / 0.9409 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006494/2.005, allocations: 0.841 MB / 0.9418 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/2.01, allocations: 1.79 MB / 0.9435 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/2.01, allocations: 204.7 kB / 0.9437 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000784/2.011, allocations: 282.7 kB / 0.944 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007818/2.018, allocations: 3.596 MB / 0.9475 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/2.019, allocations: 4.875 kB / 0.9475 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/2.019, allocations: 116.9 kB / 0.9476 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/2.019, allocations: 144.6 kB / 0.9477 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006455/2.026, allocations: 3.274 MB / 0.9509 GB, free: 10.68 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.01955/2.045, allocations: 14.29 MB / 0.9649 GB, free: 28 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/2.049, allocations: 2.516 MB / 0.9674 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/2.051, allocations: 1.349 MB / 0.9687 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/2.053, allocations: 1.373 MB / 0.97 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/2.055, allocations: 1.232 MB / 0.9712 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.268e-06/2.055, allocations: 0 / 0.9712 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.006369/2.061, allocations: 3.162 MB / 0.9743 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/2.061, allocations: 73.41 kB / 0.9744 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/2.064, allocations: 1.456 MB / 0.9758 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003019/2.064, allocations: 65.7 kB / 0.9759 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/2.065, allocations: 1.115 MB / 0.9769 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/2.066, allocations: 0.7296 MB / 0.9777 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006212/2.067, allocations: 359.4 kB / 0.978 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001236/2.067, allocations: 313.1 kB / 0.9783 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/2.069, allocations: 0.9174 MB / 0.9792 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/2.071, allocations: 1.271 MB / 0.9804 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/2.074, allocations: 2.325 MB / 0.9827 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/2.074, allocations: 0 / 0.9827 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004733/2.079, allocations: 2.586 MB / 0.9852 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/2.079, allocations: 37.7 kB / 0.9853 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/2.079, allocations: 11.98 kB / 0.9853 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/2.079, allocations: 16 kB / 0.9853 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/2.081, allocations: 461.3 kB / 0.9857 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/2.081, allocations: 25.14 kB / 0.9858 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/2.084, allocations: 200.2 kB / 0.9859 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/2.084, allocations: 79.98 kB / 0.986 GB, free: 10.14 MB / 0.7169 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.001634/2.086, allocations: 0.6862 MB / 0.9867 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000701/2.086, allocations: 213.5 kB / 0.9869 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/2.091, allocations: 2.515 MB / 0.9894 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/2.091, allocations: 20 kB / 0.9894 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/2.091, allocations: 0 / 0.9894 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003718/2.095, allocations: 2.336 MB / 0.9917 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/2.105, allocations: 5.588 MB / 0.9971 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/2.105, allocations: 0 / 0.9971 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/2.108, allocations: 486.9 kB / 0.9976 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.46e-05/2.108, allocations: 8 kB / 0.9976 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/2.108, allocations: 55.98 kB / 0.9976 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/2.108, allocations: 15.98 kB / 0.9977 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.108, allocations: 6.625 kB / 0.9977 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/2.115, allocations: 3.985 MB / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/2.116, allocations: 0.541 MB / 1.002 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/2.117, allocations: 43.98 kB / 1.002 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/2.118, allocations: 67.16 kB / 1.002 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/2.119, allocations: 152.4 kB / 1.002 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/2.119, allocations: 75.95 kB / 1.002 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001592/2.12, allocations: 0.9866 MB / 1.003 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/2.12, allocations: 0 / 1.003 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003114/2.124, allocations: 0.9389 MB / 1.004 GB, free: 7.312 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.008435/2.132, allocations: 4.809 MB / 1.009 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009078/2.141, allocations: 3.887 MB / 1.013 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.141, allocations: 7.938 kB / 1.013 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/2.144, allocations: 1.221 MB / 1.014 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00778/2.152, allocations: 1.3 MB / 1.015 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/2.192, allocations: 20.21 MB / 1.035 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/2.195, allocations: 1.971 MB / 1.037 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0036/2.198, allocations: 0.721 MB / 1.038 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002335/2.201, allocations: 1.097 MB / 1.039 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/2.201, allocations: 0 / 1.039 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/2.335, allocations: 65.2 MB / 1.102 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/21.47, allocations: 4.875 kB / 1.102 GB, free: 2.441 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)