Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.3 kB / 16.41 MB, free: 6.516 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.001275/0.001275, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002737/0.002737, allocations: 290.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 103.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5427, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.2534/0.7961, allocations: 193.1 MB / 0.9556 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4999/1.296, allocations: 4.017 MB / 0.9596 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/1.297, allocations: 26.28 kB / 0.9596 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/1.299, allocations: 491.8 kB / 0.96 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004482/1.303, allocations: 1.594 MB / 0.9616 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004027/1.307, allocations: 1.378 MB / 0.963 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002788/1.31, allocations: 1.634 MB / 0.9645 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.311, allocations: 0.8324 MB / 0.9654 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/1.313, allocations: 0.9415 MB / 0.9663 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.315, allocations: 0.8496 MB / 0.9671 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.315, allocations: 97.12 kB / 0.9672 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/1.318, allocations: 1.318 MB / 0.9685 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/1.319, allocations: 363.3 kB / 0.9688 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007044/1.319, allocations: 0.5129 MB / 0.9693 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/1.323, allocations: 1.641 MB / 0.9709 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/1.323, allocations: 0 / 0.9709 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/1.323, allocations: 0 / 0.9709 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.306e-05/1.323, allocations: 5.156 kB / 0.9709 GB, free: 1.617 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00377/1.327, allocations: 1.471 MB / 0.9724 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.327, allocations: 11.16 kB / 0.9724 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/1.328, allocations: 244.6 kB / 0.9726 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.329, allocations: 0.6101 MB / 0.9732 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.329, allocations: 37.66 kB / 0.9733 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.329, allocations: 56.97 kB / 0.9733 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.331, allocations: 0.9648 MB / 0.9743 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.331, allocations: 5.672 kB / 0.9743 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/1.331, allocations: 22.38 kB / 0.9743 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/1.331, allocations: 30.94 kB / 0.9743 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.332, allocations: 0.9363 MB / 0.9752 GB, free: 16.34 MB / 0.7325 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.005345/1.338, allocations: 4.271 MB / 0.9794 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/1.339, allocations: 0.5323 MB / 0.9799 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/1.339, allocations: 463.9 kB / 0.9804 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.34, allocations: 0.8754 MB / 0.9812 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.341, allocations: 39.33 kB / 0.9812 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001494/1.342, allocations: 413.8 kB / 0.9816 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 4.789e-06/1.342, allocations: 2.125 kB / 0.9816 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01798/1.36, allocations: 3.832 MB / 0.9854 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.36, allocations: 55.28 kB / 0.9854 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/1.361, allocations: 0.7152 MB / 0.9861 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/1.361, allocations: 36.11 kB / 0.9862 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.361, allocations: 323.7 kB / 0.9865 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/1.362, allocations: 184.9 kB / 0.9867 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.362, allocations: 150.9 kB / 0.9868 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.362, allocations: 328.2 kB / 0.9871 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/1.363, allocations: 396.8 kB / 0.9875 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/1.363, allocations: 491 kB / 0.988 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/1.365, allocations: 0.9269 MB / 0.9889 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.365, allocations: 0 / 0.9889 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01158/1.376, allocations: 2.553 MB / 0.9914 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.376, allocations: 8.453 kB / 0.9914 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.376, allocations: 2.594 kB / 0.9914 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009598/1.386, allocations: 1.728 MB / 0.9931 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/1.387, allocations: 94.31 kB / 0.9931 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/1.4, allocations: 7.154 MB / 1 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.401, allocations: 18.47 kB / 1 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.401, allocations: 46.42 kB / 1 GB, free: 8.672 MB / 0.7325 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 (46): * Single equations (assignments): 44 * 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): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005795/1.402, allocations: 213.3 kB / 1 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/1.402, allocations: 84.42 kB / 1 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/1.407, allocations: 1.721 MB / 1.002 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.407, allocations: 4.969 kB / 1.002 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.407, allocations: 9.75 kB / 1.002 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.407, allocations: 3 kB / 1.002 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/1.413, allocations: 2.528 MB / 1.005 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.413, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/1.414, allocations: 88.48 kB / 1.005 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.417, allocations: 0.8111 MB / 1.006 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/1.417, allocations: 11.97 kB / 1.006 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007501/1.425, allocations: 4.856 MB / 1.01 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.425, allocations: 6.406 kB / 1.01 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/1.431, allocations: 2.145 MB / 1.012 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/1.431, allocations: 238.7 kB / 1.013 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.431, allocations: 12.56 kB / 1.013 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/1.432, allocations: 21.56 kB / 1.013 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/1.432, allocations: 53.7 kB / 1.013 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/1.432, allocations: 21.72 kB / 1.013 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007645/1.433, allocations: 0.4985 MB / 1.013 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.433, allocations: 4 kB / 1.013 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001326/1.434, allocations: 285.1 kB / 1.013 GB, free: 4.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * 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): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005972/1.435, allocations: 221.4 kB / 1.014 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00378/1.439, allocations: 1.399 MB / 1.015 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.439, allocations: 3.625 kB / 1.015 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.441, allocations: 0.8649 MB / 1.016 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.443, allocations: 467.3 kB / 1.016 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/1.446, allocations: 1.718 MB / 1.018 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/1.447, allocations: 0.9765 MB / 1.019 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007163/1.447, allocations: 166.5 kB / 1.019 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/1.448, allocations: 72.48 kB / 1.019 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.448, allocations: 0 / 1.019 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of Templates: time 0.04104/1.489, allocations: 22.9 MB / 1.042 GB, free: 2.809 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)