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.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.001119/0.001119, 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.001173/0.001173, allocations: 169.9 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.8909/0.8909, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.738/0.738, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/2.011e-05, allocations: 4.797 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5644/0.5644, allocations: 261.6 MB / 0.8736 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02343/0.5879, allocations: 21.29 MB / 0.8944 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.5916, allocations: 103.2 kB / 0.8945 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.5953, allocations: 1.728 MB / 0.8961 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.6079, allocations: 6.538 MB / 0.9025 GB, free: 168 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.6139, allocations: 3.034 MB / 0.9055 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00727/0.6212, allocations: 7.513 MB / 0.9128 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.6234, allocations: 2.161 MB / 0.9149 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.6285, allocations: 4.179 MB / 0.919 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.6307, allocations: 2.523 MB / 0.9215 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.6311, allocations: 344 kB / 0.9218 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008688/0.6398, allocations: 4.98 MB / 0.9267 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.6409, allocations: 1.586 MB / 0.9282 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.6421, allocations: 1.38 MB / 0.9296 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00804/0.6502, allocations: 7.043 MB / 0.9364 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6502, allocations: 0 / 0.9364 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6502, allocations: 0 / 0.9364 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.218e-05/0.6502, allocations: 0 / 0.9364 GB, free: 13.35 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.005699/0.6559, allocations: 4.1 MB / 0.9404 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.656, allocations: 8.031 kB / 0.9405 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.6563, allocations: 392 kB / 0.9408 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.659, allocations: 0.8605 MB / 0.9417 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.6613, allocations: 1.806 MB / 0.9434 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.6614, allocations: 209.4 kB / 0.9436 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/0.6617, allocations: 275.9 kB / 0.9439 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.6656, allocations: 3.923 MB / 0.9477 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.6656, allocations: 7.922 kB / 0.9477 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.6658, allocations: 116 kB / 0.9478 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.6659, allocations: 141.3 kB / 0.948 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.6698, allocations: 3.284 MB / 0.9512 GB, free: 13.91 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.008757/0.6786, allocations: 9.008 MB / 0.96 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.6808, allocations: 2.063 MB / 0.962 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.6821, allocations: 1.247 MB / 0.9632 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/0.6826, allocations: 181.8 kB / 0.9634 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.6842, allocations: 1.551 MB / 0.9649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=213): time 4.518e-06/0.6842, allocations: 0 / 0.9649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=213): time 0.003863/0.6881, allocations: 3.177 MB / 0.968 GB, free: 12.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.6881, allocations: 73.41 kB / 0.9681 GB, free: 12.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.6895, allocations: 1.468 MB / 0.9695 GB, free: 10.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.6896, allocations: 61.7 kB / 0.9696 GB, free: 10.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/0.6903, allocations: 1.149 MB / 0.9707 GB, free: 9.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.6908, allocations: 0.759 MB / 0.9714 GB, free: 8.879 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/0.6912, allocations: 359.6 kB / 0.9718 GB, free: 8.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.6913, allocations: 305.1 kB / 0.9721 GB, free: 8.219 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.6923, allocations: 0.9426 MB / 0.973 GB, free: 7.266 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.6936, allocations: 1.409 MB / 0.9744 GB, free: 5.695 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.6961, allocations: 2.321 MB / 0.9766 GB, free: 3.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.6961, allocations: 0 / 0.9766 GB, free: 3.266 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003102/0.6992, allocations: 2.639 MB / 0.9792 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.6992, allocations: 37.69 kB / 0.9792 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6992, allocations: 11.94 kB / 0.9793 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.6993, allocations: 16.72 kB / 0.9793 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.7003, allocations: 463.3 kB / 0.9797 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.7004, allocations: 27.92 kB / 0.9797 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.7015, allocations: 190.8 kB / 0.9799 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7016, allocations: 83.98 kB / 0.98 GB, free: 15.78 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.0008824/0.7025, allocations: 0.6853 MB / 0.9807 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.7027, allocations: 226.6 kB / 0.9809 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.7056, allocations: 2.515 MB / 0.9833 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.7056, allocations: 20 kB / 0.9834 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7056, allocations: 7.938 kB / 0.9834 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002391/0.708, allocations: 2.331 MB / 0.9856 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/0.7136, allocations: 5.131 MB / 0.9907 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7136, allocations: 4 kB / 0.9907 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7147, allocations: 479.7 kB / 0.9911 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.7147, allocations: 12 kB / 0.9911 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.7148, allocations: 47.98 kB / 0.9912 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.7148, allocations: 12 kB / 0.9912 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7148, allocations: 4 kB / 0.9912 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.7186, allocations: 3.814 MB / 0.9949 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3906/1.109, allocations: 488.2 kB / 0.9954 GB, free: 295.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/1.11, allocations: 47.44 kB / 0.9954 GB, free: 295.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/1.111, allocations: 59.47 kB / 0.9955 GB, free: 295.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.111, allocations: 159.6 kB / 0.9956 GB, free: 295.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.463e-05/1.111, allocations: 73.25 kB / 0.9957 GB, free: 295.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009256/1.112, allocations: 0.9863 MB / 0.9967 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.41e-07/1.112, allocations: 0 / 0.9967 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00158/1.113, allocations: 0.9373 MB / 0.9976 GB, free: 295.8 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.003878/1.117, allocations: 4.62 MB / 1.002 GB, free: 293.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.12, allocations: 2.259 MB / 1.004 GB, free: 293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.12, allocations: 2.719 kB / 1.004 GB, free: 293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.121, allocations: 1.143 MB / 1.005 GB, free: 292.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.123, allocations: 1.283 MB / 1.007 GB, free: 292.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.142, allocations: 18.48 MB / 1.025 GB, free: 284.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.143, allocations: 1.416 MB / 1.026 GB, free: 283.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001905/1.145, allocations: 0.7208 MB / 1.027 GB, free: 283.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/1.146, allocations: 1.102 MB / 1.028 GB, free: 282.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.242e-06/1.146, allocations: 6.844 kB / 1.028 GB, free: 282.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/1.219, allocations: 71.37 MB / 1.098 GB, free: 238.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.883, allocations: 0 / 1.098 GB, free: 238.7 MB / 0.8386 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.832480224780738] Failed to read output from testmodel.py, exit status != 0: 10.000136301852763 10.007981202 9.356228245 Calling exit ...