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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9133/0.9133, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7331/0.7331, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.52e-05, allocations: 7.891 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.4942/0.4942, allocations: 261.6 MB / 0.8735 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.5193, allocations: 21.47 MB / 0.8945 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003466/0.5227, allocations: 103.2 kB / 0.8946 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.5272, allocations: 1.724 MB / 0.8963 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/0.541, allocations: 6.604 MB / 0.9027 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.007019/0.548, allocations: 3.043 MB / 0.9057 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009497/0.5575, allocations: 7.588 MB / 0.9131 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.5612, allocations: 2.172 MB / 0.9152 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009911/0.5711, allocations: 4.217 MB / 0.9193 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005662/0.5768, allocations: 2.548 MB / 0.9218 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009489/0.5777, allocations: 348 kB / 0.9222 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00967/0.5874, allocations: 5.031 MB / 0.9271 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002125/0.5895, allocations: 1.59 MB / 0.9286 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.5925, allocations: 1.403 MB / 0.93 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.6064, allocations: 7.114 MB / 0.937 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6064, allocations: 0 / 0.937 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6064, allocations: 0 / 0.937 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001393/0.6066, allocations: 0 / 0.937 GB, free: 12.8 MB / 0.7917 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.008321/0.6149, allocations: 4.111 MB / 0.941 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.6149, allocations: 13.47 kB / 0.941 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004372/0.6154, allocations: 396 kB / 0.9414 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.6199, allocations: 1.239 MB / 0.9426 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.6231, allocations: 1.829 MB / 0.9444 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.6232, allocations: 201.4 kB / 0.9445 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.6237, allocations: 276 kB / 0.9448 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.6292, allocations: 4.114 MB / 0.9488 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.6292, allocations: 10.7 kB / 0.9488 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.6294, allocations: 116 kB / 0.9489 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.6295, allocations: 149.3 kB / 0.9491 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004811/0.6343, allocations: 3.561 MB / 0.9526 GB, free: 12.46 MB / 0.8073 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.01183/0.6462, allocations: 9.375 MB / 0.9617 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/0.6494, allocations: 2.391 MB / 0.9641 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.6513, allocations: 1.395 MB / 0.9654 GB, free: 15.13 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.6515, allocations: 57.95 kB / 0.9655 GB, free: 15.08 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/0.6533, allocations: 1.739 MB / 0.9672 GB, free: 13.24 MB / 0.823 GB Notification: Performance of pre-optimization done (n=213): time 5.981e-06/0.6533, allocations: 0 / 0.9672 GB, free: 13.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=213): time 0.005119/0.6585, allocations: 3.606 MB / 0.9707 GB, free: 9.633 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.6585, allocations: 77.41 kB / 0.9708 GB, free: 9.547 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.6603, allocations: 1.48 MB / 0.9722 GB, free: 8.062 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.6605, allocations: 65.7 kB / 0.9723 GB, free: 7.992 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.6612, allocations: 1.149 MB / 0.9734 GB, free: 6.836 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/0.6619, allocations: 0.759 MB / 0.9741 GB, free: 6.07 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.6623, allocations: 367.4 kB / 0.9745 GB, free: 5.703 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.6624, allocations: 301.1 kB / 0.9748 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.6639, allocations: 1.091 MB / 0.9758 GB, free: 4.305 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.6655, allocations: 1.561 MB / 0.9774 GB, free: 2.582 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.6685, allocations: 2.583 MB / 0.9799 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.6685, allocations: 0 / 0.9799 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003976/0.6725, allocations: 2.929 MB / 0.9828 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.6725, allocations: 37.7 kB / 0.9828 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6726, allocations: 8 kB / 0.9828 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.6726, allocations: 19.94 kB / 0.9828 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.6739, allocations: 0.4954 MB / 0.9833 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.6739, allocations: 23.94 kB / 0.9833 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.6756, allocations: 234.5 kB / 0.9835 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.6757, allocations: 79.97 kB / 0.9836 GB, free: 12.05 MB / 0.8386 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.001268/0.677, allocations: 0.6855 MB / 0.9843 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.6774, allocations: 226.6 kB / 0.9845 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.6811, allocations: 2.812 MB / 0.9873 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6811, allocations: 20 kB / 0.9873 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6811, allocations: 8.797 kB / 0.9873 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/0.684, allocations: 2.631 MB / 0.9898 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3888/1.073, allocations: 5.58 MB / 0.9953 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.073, allocations: 6.844 kB / 0.9953 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.075, allocations: 0.5075 MB / 0.9958 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.075, allocations: 10.95 kB / 0.9958 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.075, allocations: 61.11 kB / 0.9959 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.075, allocations: 13.17 kB / 0.9959 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.075, allocations: 5.875 kB / 0.9959 GB, free: 205.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/1.08, allocations: 4.315 MB / 1 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.081, allocations: 0.5021 MB / 1.001 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.082, allocations: 49.17 kB / 1.001 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/1.083, allocations: 98.88 kB / 1.001 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.083, allocations: 158.8 kB / 1.001 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.083, allocations: 70.66 kB / 1.001 GB, free: 205.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001029/1.084, allocations: 1.001 MB / 1.002 GB, free: 205.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 1.002 GB, free: 205.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001968/1.086, allocations: 0.9579 MB / 1.003 GB, free: 205.3 MB / 0.8386 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.005908/1.092, allocations: 5.108 MB / 1.008 GB, free: 204.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003379/1.095, allocations: 2.56 MB / 1.01 GB, free: 204.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.095, allocations: 4.969 kB / 1.01 GB, free: 204.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/1.097, allocations: 1.304 MB / 1.012 GB, free: 204.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.101, allocations: 1.299 MB / 1.013 GB, free: 204.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/1.133, allocations: 19.6 MB / 1.032 GB, free: 197.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.135, allocations: 1.411 MB / 1.033 GB, free: 197.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002892/1.138, allocations: 0.7333 MB / 1.034 GB, free: 197.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.14, allocations: 1.108 MB / 1.035 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.564e-06/1.14, allocations: 1.188 kB / 1.035 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08882/1.229, allocations: 75.04 MB / 1.109 GB, free: 150.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/10.5, allocations: 6.984 kB / 1.109 GB, free: 150.2 MB / 0.8386 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.417011792771518] Failed to read output from testmodel.py, exit status != 0: 10.626313630491495 10.632644772 10.024424646 Calling exit ...