Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 103.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 290.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002076, allocations: 94.81 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1719, allocations: 86.98 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5382/0.7102, allocations: 213.6 MB / 0.8894 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.7244, allocations: 10.2 MB / 0.8994 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.7261, allocations: 35.81 kB / 0.8994 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.7286, allocations: 0.8391 MB / 0.9003 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.7357, allocations: 2.89 MB / 0.9031 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.7394, allocations: 1.408 MB / 0.9045 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004144/0.7436, allocations: 3.163 MB / 0.9075 GB, free: 6.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.7452, allocations: 1.035 MB / 0.9086 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.7473, allocations: 1.125 MB / 0.9097 GB, free: 4.484 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.7496, allocations: 1.074 MB / 0.9107 GB, free: 3.414 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.7499, allocations: 124 kB / 0.9108 GB, free: 3.293 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005294/0.7552, allocations: 2.739 MB / 0.9135 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000692/0.7559, allocations: 498.6 kB / 0.914 GB, free: 60 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.7573, allocations: 0.7313 MB / 0.9147 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.7627, allocations: 2.782 MB / 0.9174 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7627, allocations: 0 / 0.9174 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7628, allocations: 0 / 0.9174 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.885e-05/0.7628, allocations: 0 / 0.9174 GB, free: 12.54 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004448/0.7673, allocations: 1.796 MB / 0.9192 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7673, allocations: 8.031 kB / 0.9192 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.7704, allocations: 426 kB / 0.9196 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.7719, allocations: 0.8627 MB / 0.9204 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.772, allocations: 70 kB / 0.9205 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.7722, allocations: 95.98 kB / 0.9206 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.7742, allocations: 1.198 MB / 0.9217 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7742, allocations: 4 kB / 0.9217 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.7743, allocations: 40 kB / 0.9218 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.7744, allocations: 58.66 kB / 0.9218 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.7763, allocations: 1.07 MB / 0.9229 GB, free: 6.789 MB / 0.6856 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.00569/0.782, allocations: 4.781 MB / 0.9276 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.7834, allocations: 0.9841 MB / 0.9285 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/0.7844, allocations: 0.5714 MB / 0.9291 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.7851, allocations: 0.6772 MB / 0.9297 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.7851, allocations: 47.16 kB / 0.9298 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.7851, allocations: 0 / 0.9298 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.004189/0.7893, allocations: 2.3 MB / 0.932 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.7894, allocations: 60.41 kB / 0.9321 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.7902, allocations: 0.6449 MB / 0.9327 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.7902, allocations: 41.7 kB / 0.9327 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.7905, allocations: 452.1 kB / 0.9332 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.7908, allocations: 299.6 kB / 0.9335 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.791, allocations: 134.6 kB / 0.9336 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7912, allocations: 398.7 kB / 0.934 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.7917, allocations: 317.8 kB / 0.9343 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.7923, allocations: 432.2 kB / 0.9347 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7934, allocations: 0.7846 MB / 0.9355 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7935, allocations: 4 kB / 0.9355 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001541/0.795, allocations: 0.9424 MB / 0.9364 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.795, allocations: 8 kB / 0.9364 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.7951, allocations: 4 kB / 0.9364 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.7953, allocations: 57.08 kB / 0.9364 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.796, allocations: 159.7 kB / 0.9366 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004938/0.7965, allocations: 0.6031 MB / 0.9372 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008321/0.7974, allocations: 24.86 kB / 0.9372 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.7974, allocations: 32.06 kB / 0.9372 GB, free: 7.293 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004532/0.7979, allocations: 298.2 kB / 0.9375 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.7981, allocations: 98.75 kB / 0.9376 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.7997, allocations: 0.9324 MB / 0.9385 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7997, allocations: 11.98 kB / 0.9385 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7997, allocations: 0 / 0.9385 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/0.801, allocations: 0.9232 MB / 0.9394 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.8042, allocations: 2.115 MB / 0.9415 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8042, allocations: 1 kB / 0.9415 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.8052, allocations: 195.8 kB / 0.9417 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.8052, allocations: 4 kB / 0.9417 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.8053, allocations: 19.98 kB / 0.9417 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.8053, allocations: 11.88 kB / 0.9417 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8053, allocations: 0 / 0.9417 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.8073, allocations: 1.384 MB / 0.9431 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.8078, allocations: 252 kB / 0.9433 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.8079, allocations: 31.98 kB / 0.9434 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.8087, allocations: 19.84 kB / 0.9434 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.8088, allocations: 52.92 kB / 0.9434 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.8089, allocations: 35.92 kB / 0.9435 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005615/0.8095, allocations: 455 kB / 0.9439 GB, free: 336 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8095, allocations: 0 / 0.9439 GB, free: 336 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009032/0.8104, allocations: 316 kB / 0.9442 GB, free: 20 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.000392/0.8108, allocations: 216.8 kB / 0.9444 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.8128, allocations: 0.9963 MB / 0.9454 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8128, allocations: 0 / 0.9454 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.8134, allocations: 437.6 kB / 0.9458 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.8161, allocations: 0.6052 MB / 0.9464 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.8201, allocations: 2.374 MB / 0.9487 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.8209, allocations: 1.12 MB / 0.9498 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.8212, allocations: 79.42 kB / 0.9499 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of SimCode: time 7.81e-07/0.8212, allocations: 0 / 0.9499 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.313/1.134, allocations: 18.69 MB / 0.9681 GB, free: 242.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)