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.001047/0.001047, allocations: 107.5 kB / 15.98 MB, free: 5.914 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.001073/0.001073, allocations: 189.8 kB / 16.9 MB, free: 5.758 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.306/1.306, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 282.6 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 93.61 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1668, allocations: 86.97 MB / 0.6803 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4914/0.6583, allocations: 190.1 MB / 0.8659 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006282/0.6646, allocations: 4 MB / 0.8699 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.6655, allocations: 19.88 kB / 0.8699 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6667, allocations: 409.9 kB / 0.8703 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.6704, allocations: 1.443 MB / 0.8717 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.6737, allocations: 1.262 MB / 0.8729 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.6758, allocations: 1.647 MB / 0.8745 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.677, allocations: 0.9351 MB / 0.8754 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.6784, allocations: 0.9384 MB / 0.8763 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009957/0.6794, allocations: 0.88 MB / 0.8772 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.6796, allocations: 96 kB / 0.8773 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.682, allocations: 1.364 MB / 0.8786 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.6823, allocations: 363 kB / 0.879 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.6828, allocations: 0.5094 MB / 0.8795 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.6843, allocations: 1.181 MB / 0.8806 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6843, allocations: 0 / 0.8806 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6843, allocations: 0 / 0.8806 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.6843, allocations: 0 / 0.8806 GB, free: 2.191 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002978/0.6873, allocations: 1.441 MB / 0.882 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6874, allocations: 12.03 kB / 0.882 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.6889, allocations: 238.8 kB / 0.8823 GB, free: 464 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008585/0.6898, allocations: 0.5877 MB / 0.8828 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.6899, allocations: 40.98 kB / 0.8829 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.69, allocations: 51.75 kB / 0.8829 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.6915, allocations: 0.9687 MB / 0.8839 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6915, allocations: 0 / 0.8839 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.6916, allocations: 24 kB / 0.8839 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.6917, allocations: 27.92 kB / 0.8839 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.6932, allocations: 0.9446 MB / 0.8848 GB, free: 13.7 MB / 0.6544 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.005189/0.6984, allocations: 4.255 MB / 0.889 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.6993, allocations: 0.5978 MB / 0.8896 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.7001, allocations: 0.5221 MB / 0.8901 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.7011, allocations: 0.8705 MB / 0.8909 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.7012, allocations: 42.94 kB / 0.891 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001729/0.7029, allocations: 459 kB / 0.8914 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.735e-06/0.7029, allocations: 0 / 0.8914 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01714/0.7201, allocations: 3.833 MB / 0.8952 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.7202, allocations: 55.84 kB / 0.8952 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.7212, allocations: 0.7155 MB / 0.8959 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.7213, allocations: 37.7 kB / 0.896 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.7216, allocations: 316.6 kB / 0.8963 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.7218, allocations: 177.4 kB / 0.8964 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.7221, allocations: 146 kB / 0.8966 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7222, allocations: 330 kB / 0.8969 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.7228, allocations: 400.8 kB / 0.8973 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.7235, allocations: 485.5 kB / 0.8977 GB, free: 8 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.7249, allocations: 0.918 MB / 0.8986 GB, free: 15.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.725, allocations: 0.6875 kB / 0.8986 GB, free: 15.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01135/0.7363, allocations: 2.564 MB / 0.9011 GB, free: 12.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.7364, allocations: 11.98 kB / 0.9011 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7364, allocations: 3.938 kB / 0.9011 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009609/0.746, allocations: 1.73 MB / 0.9028 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.7466, allocations: 99.8 kB / 0.9029 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.759, allocations: 7.143 MB / 0.9099 GB, free: 3.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.7599, allocations: 31.98 kB / 0.9099 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7601, allocations: 47.92 kB / 0.91 GB, free: 3.121 MB / 0.67 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.000397/0.7605, allocations: 201.8 kB / 0.9102 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.7607, allocations: 82.97 kB / 0.9103 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/0.7656, allocations: 1.742 MB / 0.912 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.7656, allocations: 11.94 kB / 0.912 GB, free: 1.066 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7656, allocations: 0 / 0.912 GB, free: 1.066 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7657, allocations: 0 / 0.912 GB, free: 1.066 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/0.7714, allocations: 2.548 MB / 0.9145 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7714, allocations: 0 / 0.9145 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.7718, allocations: 90.27 kB / 0.9145 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/0.7751, allocations: 0.8017 MB / 0.9153 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.7751, allocations: 16 kB / 0.9153 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.7816, allocations: 4.864 MB / 0.9201 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7816, allocations: 3.938 kB / 0.9201 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/0.7868, allocations: 2.147 MB / 0.9222 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.7873, allocations: 231.9 kB / 0.9224 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.7875, allocations: 12 kB / 0.9224 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.7881, allocations: 35.97 kB / 0.9225 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.7883, allocations: 52.44 kB / 0.9225 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.7884, allocations: 16.75 kB / 0.9225 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006008/0.789, allocations: 0.5068 MB / 0.923 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.645e-06/0.789, allocations: 0 / 0.923 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009637/0.7899, allocations: 287.8 kB / 0.9233 GB, free: 5.051 MB / 0.6856 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.0005938/0.7906, allocations: 223.2 kB / 0.9235 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003934/0.7945, allocations: 1.516 MB / 0.925 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7945, allocations: 4 kB / 0.925 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.7964, allocations: 0.9194 MB / 0.9259 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.7986, allocations: 467.9 kB / 0.9263 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.8019, allocations: 2.01 MB / 0.9283 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.8025, allocations: 0.9789 MB / 0.9292 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.8027, allocations: 71.41 kB / 0.9293 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of SimCode: time 7.82e-07/0.8027, allocations: 0 / 0.9293 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.02379/0.8265, allocations: 19.31 MB / 0.9482 GB, free: 11.59 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)