Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 108.2 kB / 16.37 MB, free: 5.984 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.002108/0.002107, allocations: 194 kB / 17.31 MB, free: 5.602 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.848/1.848, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002683/0.002682, allocations: 291.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.245/1.245, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 89.89 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.8392/1.163, allocations: 166.9 MB / 0.8446 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01814/1.182, allocations: 8.493 MB / 0.8529 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/1.185, allocations: 35.81 kB / 0.8529 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002738/1.188, allocations: 0.5667 MB / 0.8535 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006687/1.194, allocations: 1.535 MB / 0.855 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/1.198, allocations: 1.004 MB / 0.856 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007507/1.206, allocations: 4.099 MB / 0.86 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/1.209, allocations: 1.315 MB / 0.8612 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/1.214, allocations: 1.506 MB / 0.8627 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003807/1.218, allocations: 1.499 MB / 0.8642 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/1.219, allocations: 188 kB / 0.8644 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/1.224, allocations: 1.111 MB / 0.8654 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/1.225, allocations: 0.6662 MB / 0.8661 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003473/1.229, allocations: 1.038 MB / 0.8671 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006747/1.236, allocations: 2.756 MB / 0.8698 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/1.236, allocations: 0 / 0.8698 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/1.236, allocations: 0 / 0.8698 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.601e-05/1.236, allocations: 0 / 0.8698 GB, free: 13.73 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.006726/1.243, allocations: 2.263 MB / 0.872 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.243, allocations: 8.031 kB / 0.872 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/1.243, allocations: 198.7 kB / 0.8722 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/1.246, allocations: 1.17 MB / 0.8733 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.246, allocations: 115 kB / 0.8735 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.247, allocations: 148 kB / 0.8736 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/1.25, allocations: 1.928 MB / 0.8755 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/1.251, allocations: 0 / 0.8755 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/1.251, allocations: 64 kB / 0.8755 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/1.251, allocations: 36 kB / 0.8756 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/1.255, allocations: 2.478 MB / 0.878 GB, free: 5.191 MB / 0.6387 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.01137/1.267, allocations: 6.124 MB / 0.884 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/1.271, allocations: 2.8 MB / 0.8867 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/1.274, allocations: 1.417 MB / 0.8881 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/1.276, allocations: 1.73 MB / 0.8898 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.94e-05/1.276, allocations: 60.56 kB / 0.8898 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=237): time 6.071e-06/1.276, allocations: 3.938 kB / 0.8898 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=237): time 0.007463/1.284, allocations: 3.43 MB / 0.8932 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/1.284, allocations: 77.41 kB / 0.8933 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/1.286, allocations: 0.7821 MB / 0.894 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/1.286, allocations: 61.7 kB / 0.8941 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/1.286, allocations: 494.1 kB / 0.8946 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009649/1.287, allocations: 0.7969 MB / 0.8953 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/1.288, allocations: 351.6 kB / 0.8957 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.288, allocations: 305.1 kB / 0.896 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/1.29, allocations: 0.9053 MB / 0.8969 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.292, allocations: 1.117 MB / 0.8979 GB, free: 15.83 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.296, allocations: 2.231 MB / 0.9001 GB, free: 13.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.296, allocations: 0 / 0.9001 GB, free: 13.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005005/1.301, allocations: 2.432 MB / 0.9025 GB, free: 11.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/1.301, allocations: 8 kB / 0.9025 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.301, allocations: 4 kB / 0.9025 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.374e-05/1.301, allocations: 15.94 kB / 0.9025 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.303, allocations: 439.8 kB / 0.9029 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.222e-05/1.303, allocations: 15.98 kB / 0.903 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.305, allocations: 158.2 kB / 0.9031 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/1.305, allocations: 71.98 kB / 0.9032 GB, free: 10.42 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.001208/1.306, allocations: 441.2 kB / 0.9036 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/1.307, allocations: 142.3 kB / 0.9037 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/1.313, allocations: 2.725 MB / 0.9064 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.313, allocations: 20 kB / 0.9064 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.313, allocations: 0 / 0.9064 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004245/1.317, allocations: 2.381 MB / 0.9087 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/1.326, allocations: 4.298 MB / 0.9129 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.326, allocations: 11.88 kB / 0.9129 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.328, allocations: 407.4 kB / 0.9133 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007699/1.328, allocations: 101.7 kB / 0.9134 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/1.329, allocations: 51.98 kB / 0.9135 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/1.33, allocations: 1.12 MB / 0.9146 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.33, allocations: 0 / 0.9146 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007954/1.338, allocations: 4.053 MB / 0.9185 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.339, allocations: 478.6 kB / 0.919 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004774/1.34, allocations: 44 kB / 0.919 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.341, allocations: 48.08 kB / 0.9191 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.341, allocations: 141.8 kB / 0.9192 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.342, allocations: 69.23 kB / 0.9193 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001176/1.343, allocations: 0.5537 MB / 0.9198 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.31e-07/1.343, allocations: 0 / 0.9198 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002711/1.346, allocations: 0.6475 MB / 0.9205 GB, free: 8.469 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.347, allocations: 388 kB / 0.9208 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004861/1.352, allocations: 2.321 MB / 0.9231 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.352, allocations: 7.938 kB / 0.9231 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/1.354, allocations: 1.285 MB / 0.9244 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/1.358, allocations: 0.5704 MB / 0.9249 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/1.366, allocations: 3.764 MB / 0.9286 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.368, allocations: 1.339 MB / 0.9299 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002862/1.371, allocations: 0.7189 MB / 0.9306 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/1.372, allocations: 163.4 kB / 0.9307 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of SimCode: time 4.018e-06/1.372, allocations: 0 / 0.9307 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of Templates: time 0.06424/1.436, allocations: 28.04 MB / 0.9581 GB, free: 2.168 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)