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.0008077/0.0008077, 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.0008674/0.0008674, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9506/0.9506, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7141/0.7141, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.114e-06/2.114e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.58e-05, allocations: 8.328 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5382/0.5382, allocations: 261.6 MB / 0.8736 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.5625, allocations: 21.3 MB / 0.8944 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.5662, allocations: 107.2 kB / 0.8945 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.5711, allocations: 1.728 MB / 0.8962 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.5844, allocations: 6.534 MB / 0.9025 GB, free: 160 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006393/0.5908, allocations: 3.031 MB / 0.9055 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008073/0.5989, allocations: 7.528 MB / 0.9128 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.6021, allocations: 2.149 MB / 0.9149 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008045/0.6102, allocations: 4.184 MB / 0.919 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.6142, allocations: 2.53 MB / 0.9215 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000647/0.6148, allocations: 340 kB / 0.9218 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008486/0.6233, allocations: 4.976 MB / 0.9267 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.6252, allocations: 1.582 MB / 0.9282 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.6276, allocations: 1.384 MB / 0.9296 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.6399, allocations: 7.047 MB / 0.9365 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6399, allocations: 0 / 0.9365 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6399, allocations: 0 / 0.9365 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001118/0.64, allocations: 0 / 0.9365 GB, free: 13.33 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.007375/0.6474, allocations: 4.088 MB / 0.9405 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6475, allocations: 8.031 kB / 0.9405 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003881/0.6479, allocations: 396 kB / 0.9408 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.6511, allocations: 0.8605 MB / 0.9417 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.6541, allocations: 1.798 MB / 0.9434 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.6542, allocations: 209.4 kB / 0.9436 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.6545, allocations: 275.9 kB / 0.9439 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.6592, allocations: 3.923 MB / 0.9477 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/0.6592, allocations: 7.938 kB / 0.9477 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.6594, allocations: 112 kB / 0.9478 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.6595, allocations: 149.3 kB / 0.948 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.6636, allocations: 3.276 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.01064/0.6743, allocations: 9.019 MB / 0.96 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.6766, allocations: 2.057 MB / 0.962 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.678, allocations: 1.258 MB / 0.9632 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/0.6784, allocations: 173.9 kB / 0.9634 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.6799, allocations: 1.548 MB / 0.9649 GB, free: 15.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=213): time 4.419e-06/0.6799, allocations: 0 / 0.9649 GB, free: 15.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=213): time 0.003971/0.6838, allocations: 3.184 MB / 0.968 GB, free: 12.41 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.6839, allocations: 73.41 kB / 0.9681 GB, free: 12.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.6854, allocations: 1.464 MB / 0.9695 GB, free: 10.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6855, allocations: 69.7 kB / 0.9696 GB, free: 10.79 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/0.6863, allocations: 1.141 MB / 0.9707 GB, free: 9.637 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000542/0.6869, allocations: 0.7551 MB / 0.9714 GB, free: 8.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.6872, allocations: 355.6 kB / 0.9718 GB, free: 8.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.6873, allocations: 317 kB / 0.9721 GB, free: 8.207 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.6884, allocations: 0.9348 MB / 0.973 GB, free: 7.262 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.6896, allocations: 1.413 MB / 0.9744 GB, free: 5.688 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.6919, allocations: 2.317 MB / 0.9766 GB, free: 3.262 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.6919, allocations: 7.938 kB / 0.9766 GB, free: 3.254 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003181/0.6951, allocations: 2.635 MB / 0.9792 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.6952, allocations: 38.58 kB / 0.9792 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6952, allocations: 8 kB / 0.9793 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.6952, allocations: 20 kB / 0.9793 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.6963, allocations: 467.3 kB / 0.9797 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.6963, allocations: 19.94 kB / 0.9797 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.6977, allocations: 194.8 kB / 0.9799 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6978, allocations: 76 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.001073/0.6988, allocations: 0.697 MB / 0.9807 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.6992, allocations: 222.6 kB / 0.9809 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.702, allocations: 2.515 MB / 0.9833 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.702, allocations: 24 kB / 0.9834 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.702, allocations: 0 / 0.9834 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002373/0.7044, allocations: 2.335 MB / 0.9856 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/0.7113, allocations: 5.131 MB / 0.9907 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7113, allocations: 0 / 0.9907 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.7125, allocations: 479.7 kB / 0.9911 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.7125, allocations: 12 kB / 0.9911 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/0.7126, allocations: 59.97 kB / 0.9912 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.7126, allocations: 8 kB / 0.9912 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7126, allocations: 4 kB / 0.9912 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.7169, allocations: 3.81 MB / 0.9949 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3234/1.04, allocations: 488.5 kB / 0.9954 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00059/1.041, allocations: 48.25 kB / 0.9954 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.042, allocations: 61.45 kB / 0.9955 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.042, allocations: 157 kB / 0.9956 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/1.042, allocations: 71 kB / 0.9957 GB, free: 295.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001008/1.043, allocations: 0.9915 MB / 0.9967 GB, free: 295.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.043, allocations: 0 / 0.9967 GB, free: 295.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001947/1.045, allocations: 0.9351 MB / 0.9976 GB, free: 295.7 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.004252/1.049, allocations: 4.618 MB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002611/1.052, allocations: 2.256 MB / 1.004 GB, free: 292.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.052, allocations: 0 / 1.004 GB, free: 292.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.053, allocations: 1.148 MB / 1.005 GB, free: 292.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.057, allocations: 1.287 MB / 1.007 GB, free: 292.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.077, allocations: 18.48 MB / 1.025 GB, free: 284.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.079, allocations: 1.414 MB / 1.026 GB, free: 283.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00217/1.081, allocations: 0.7225 MB / 1.027 GB, free: 283.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.082, allocations: 1.104 MB / 1.028 GB, free: 282.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.633e-06/1.082, allocations: 0 / 1.028 GB, free: 282.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0958/1.178, allocations: 71.36 MB / 1.098 GB, free: 238.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/9.567, allocations: 4 kB / 1.098 GB, free: 238.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.43983294069767] Failed to read output from testmodel.py, exit status != 0: 9.68036053236574 9.685790583 9.04450805 Calling exit ...