Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.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.0007915/0.0007915, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008621/0.0008621, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9503/0.9503, allocations: 230.6 MB / 256 MB, free: 9.648 MB / 202.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.7562/0.7562, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009619/0.0009619, allocations: 74.61 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5201, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1678/0.688, allocations: 180.8 MB / 0.9944 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009399/0.6974, allocations: 6.007 MB / 1 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.6988, allocations: 47.62 kB / 1 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.7003, allocations: 0.6915 MB / 1.001 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.7063, allocations: 2.805 MB / 1.004 GB, free: 6.668 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.7081, allocations: 0.7223 MB / 1.004 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00324/0.7113, allocations: 3.331 MB / 1.008 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.7122, allocations: 0.809 MB / 1.008 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.7144, allocations: 1.433 MB / 1.01 GB, free: 340 kB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.716, allocations: 1.121 MB / 1.011 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.7162, allocations: 128 kB / 1.011 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.7193, allocations: 1.909 MB / 1.013 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.7198, allocations: 0.5258 MB / 1.013 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006603/0.7205, allocations: 0.6226 MB / 1.014 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.7241, allocations: 2.73 MB / 1.017 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7241, allocations: 0 / 1.017 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7241, allocations: 0 / 1.017 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.047e-05/0.7242, allocations: 4 kB / 1.017 GB, free: 9.281 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002786/0.727, allocations: 1.728 MB / 1.018 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.727, allocations: 12.03 kB / 1.018 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.7271, allocations: 172.5 kB / 1.019 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.7286, allocations: 346.9 kB / 1.019 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.7297, allocations: 0.8065 MB / 1.02 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.7298, allocations: 82 kB / 1.02 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.7299, allocations: 99.95 kB / 1.02 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.7312, allocations: 1.396 MB / 1.021 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.7312, allocations: 7.938 kB / 1.021 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.7313, allocations: 36 kB / 1.021 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.7313, allocations: 62.06 kB / 1.021 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.7326, allocations: 1.242 MB / 1.023 GB, free: 3.141 MB / 0.7917 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.00386/0.7365, allocations: 3.13 MB / 1.026 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.7374, allocations: 0.8198 MB / 1.026 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.7379, allocations: 489.1 kB / 1.027 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.7379, allocations: 20.59 kB / 1.027 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.7385, allocations: 0.6776 MB / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/0.7385, allocations: 0 / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.001335/0.7398, allocations: 1.157 MB / 1.029 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.7399, allocations: 67.94 kB / 1.029 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.7403, allocations: 0.5822 MB / 1.029 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.7404, allocations: 37.7 kB / 1.029 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.7406, allocations: 468.7 kB / 1.03 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.7408, allocations: 285.7 kB / 1.03 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.7409, allocations: 130.6 kB / 1.03 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.741, allocations: 386.8 kB / 1.031 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.7414, allocations: 333.8 kB / 1.031 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.7417, allocations: 444.8 kB / 1.031 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.7425, allocations: 0.8271 MB / 1.032 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7425, allocations: 3.938 kB / 1.032 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001075/0.7436, allocations: 0.93 MB / 1.033 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7436, allocations: 8.344 kB / 1.033 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7436, allocations: 4 kB / 1.033 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.7436, allocations: 8 kB / 1.033 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.744, allocations: 159.7 kB / 1.033 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.744, allocations: 11.94 kB / 1.033 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.7444, allocations: 63.52 kB / 1.033 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.7445, allocations: 24 kB / 1.033 GB, free: 7.863 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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.0003855/0.7449, allocations: 334.2 kB / 1.034 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.7449, allocations: 83.48 kB / 1.034 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.745, allocations: 111.8 kB / 1.034 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.745, allocations: 11.94 kB / 1.034 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.7451, allocations: 7.984 kB / 1.034 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008162/0.7459, allocations: 1.089 MB / 1.035 GB, free: 6.137 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 postOpt removeSimpleEquations (simulation): time 0.002056/0.7479, allocations: 2.015 MB / 1.037 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.7479, allocations: 0 / 1.037 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.7484, allocations: 175.8 kB / 1.037 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.7484, allocations: 11.97 kB / 1.037 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.7484, allocations: 23.98 kB / 1.037 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7484, allocations: 7.938 kB / 1.037 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7484, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.7496, allocations: 1.356 MB / 1.038 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.7499, allocations: 175.4 kB / 1.039 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.7499, allocations: 16 kB / 1.039 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.7502, allocations: 23.98 kB / 1.039 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.7503, allocations: 44.56 kB / 1.039 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.7503, allocations: 20 kB / 1.039 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000326/0.7506, allocations: 419 kB / 1.039 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7506, allocations: 4 kB / 1.039 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007833/0.7514, allocations: 371.3 kB / 1.039 GB, free: 1.422 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001431/0.7528, allocations: 1.973 MB / 1.041 GB, free: 15.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007865/0.7536, allocations: 0.7629 MB / 1.042 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7536, allocations: 0 / 1.042 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.754, allocations: 411.5 kB / 1.042 GB, free: 14.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.7554, allocations: 0.5869 MB / 1.043 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.7619, allocations: 7.285 MB / 1.05 GB, free: 6.246 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.7623, allocations: 0.5466 MB / 1.051 GB, free: 5.668 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000667/0.763, allocations: 267.2 kB / 1.051 GB, free: 5.402 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.7633, allocations: 379.3 kB / 1.051 GB, free: 5.035 MB / 0.823 GB Notification: Performance of SimCode: time 1.593e-06/0.7633, allocations: 0 / 1.051 GB, free: 5.035 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.8039, allocations: 28.71 MB / 1.079 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.677, allocations: 0 / 1.079 GB, free: 8.836 MB / 0.8542 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.567592748906463] Failed to read output from testmodel.py, exit status != 0: 7.768703351728618 7.778017753 7.051982769 Calling exit ...