Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 189.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 283 kB / 306.5 MB, free: 8.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.242/1.242, allocations: 180.9 MB / 0.53 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 106.9 kB / 0.7308 GB, free: 39.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2248, allocations: 94.19 MB / 0.8228 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.836/1.061, allocations: 205.3 MB / 1.023 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01137/1.072, allocations: 6.412 MB / 1.03 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/1.074, allocations: 47.12 kB / 1.03 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/1.077, allocations: 0.7677 MB / 1.03 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008387/1.085, allocations: 2.824 MB / 1.033 GB, free: 3.422 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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.002311/1.088, allocations: 0.734 MB / 1.034 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006497/1.094, allocations: 3.367 MB / 1.037 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.096, allocations: 0.8167 MB / 1.038 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/1.099, allocations: 1.296 MB / 1.039 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/1.102, allocations: 1.178 MB / 1.04 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/1.102, allocations: 129.8 kB / 1.04 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/1.108, allocations: 2.558 MB / 1.043 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006642/1.109, allocations: 0.5302 MB / 1.044 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/1.11, allocations: 0.7431 MB / 1.044 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0057/1.116, allocations: 2.804 MB / 1.047 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.116, allocations: 1.094 kB / 1.047 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.954e-06/1.116, allocations: 2.75 kB / 1.047 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.493e-05/1.116, allocations: 0 / 1.047 GB, free: 3.141 MB / 0.7481 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.004162/1.12, allocations: 1.734 MB / 1.049 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.12, allocations: 11.09 kB / 1.049 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/1.122, allocations: 354.6 kB / 1.049 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.124, allocations: 0.8132 MB / 1.05 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/1.124, allocations: 75.58 kB / 1.05 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.124, allocations: 103.9 kB / 1.05 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.126, allocations: 1.185 MB / 1.051 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/1.126, allocations: 8.984 kB / 1.051 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.126, allocations: 37.83 kB / 1.051 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/1.126, allocations: 66.86 kB / 1.051 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.128, allocations: 1.249 MB / 1.052 GB, free: 1.934 MB / 0.7481 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.006555/1.134, allocations: 5.044 MB / 1.057 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.135, allocations: 0.8383 MB / 1.058 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/1.136, allocations: 487.9 kB / 1.059 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/1.136, allocations: 16.91 kB / 1.059 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006588/1.137, allocations: 485.3 kB / 1.059 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/1.137, allocations: 4.094 kB / 1.059 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.00179/1.138, allocations: 1.162 MB / 1.06 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.138, allocations: 61.16 kB / 1.06 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/1.139, allocations: 0.5774 MB / 1.061 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/1.139, allocations: 40.42 kB / 1.061 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/1.139, allocations: 470.1 kB / 1.061 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.14, allocations: 281.2 kB / 1.062 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.14, allocations: 133 kB / 1.062 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.14, allocations: 385.3 kB / 1.062 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/1.14, allocations: 334.6 kB / 1.062 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/1.141, allocations: 448.5 kB / 1.063 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/1.142, allocations: 0.8235 MB / 1.064 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.142, allocations: 1 kB / 1.064 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001213/1.143, allocations: 0.9308 MB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.143, allocations: 7.125 kB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.143, allocations: 7.625 kB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.143, allocations: 10.03 kB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.144, allocations: 160.4 kB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.144, allocations: 4.875 kB / 1.065 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/1.144, allocations: 64.78 kB / 1.065 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/1.145, allocations: 30.97 kB / 1.065 GB, free: 13.96 MB / 0.7637 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.0005246/1.145, allocations: 332.1 kB / 1.065 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.145, allocations: 81.48 kB / 1.065 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/1.145, allocations: 108.5 kB / 1.065 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.145, allocations: 11.03 kB / 1.065 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.145, allocations: 0.9062 kB / 1.065 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/1.147, allocations: 1.098 MB / 1.066 GB, free: 13.32 MB / 0.7637 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.003026/1.15, allocations: 2.278 MB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.15, allocations: 3.469 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/1.151, allocations: 172.1 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.151, allocations: 2.781 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/1.151, allocations: 21.03 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.151, allocations: 3.281 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.151, allocations: 4.188 kB / 1.069 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.152, allocations: 1.356 MB / 1.07 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/1.153, allocations: 180.3 kB / 1.07 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.153, allocations: 18.22 kB / 1.07 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/1.153, allocations: 25.39 kB / 1.07 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/1.154, allocations: 42.83 kB / 1.07 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/1.154, allocations: 29.11 kB / 1.071 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004724/1.154, allocations: 417 kB / 1.071 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.154, allocations: 2.344 kB / 1.071 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009354/1.155, allocations: 365.6 kB / 1.071 GB, free: 12.45 MB / 0.7637 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.0003058/1.155, allocations: 183.2 kB / 1.071 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.156, allocations: 0.7692 MB / 1.072 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.156, allocations: 0.75 kB / 1.072 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/1.157, allocations: 407.4 kB / 1.073 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.159, allocations: 0.602 MB / 1.073 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/1.163, allocations: 2.206 MB / 1.075 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.164, allocations: 1.147 MB / 1.076 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001079/1.166, allocations: 269.4 kB / 1.077 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.166, allocations: 72.59 kB / 1.077 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.166, allocations: 0 / 1.077 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of Templates: time 0.03513/1.201, allocations: 19.9 MB / 1.096 GB, free: 3.285 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7888471418991685] Failed to read output from testmodel.py, exit status != 0: 1.2091307826340199 1.223625991 0.10465495300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f13cbdc97b0>