Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008872, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001294/0.001294, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.00171, allocations: 277.5 kB / 291.4 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9709/0.9709, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 15 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1918, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001269/0.1931, allocations: 0.9752 MB / 0.6854 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002475/0.1933, allocations: 112.9 kB / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.1934, allocations: 5.906 kB / 0.6855 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1934, allocations: 0 / 0.6855 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.1935, allocations: 0 / 0.6855 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1936, allocations: 28.7 kB / 0.6856 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.1937, allocations: 15.92 kB / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1937, allocations: 6.25 kB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.1937, allocations: 3.938 kB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.1938, allocations: 4 kB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.1938, allocations: 0 / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1939, allocations: 47.94 kB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1939, allocations: 4 kB / 0.6857 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.1939, allocations: 31.89 kB / 0.6857 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.392e-05/0.194, allocations: 32.11 kB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.194, allocations: 0 / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.194, allocations: 4 kB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1941, allocations: 0 / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003355/0.1944, allocations: 324.9 kB / 0.686 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1944, allocations: 8.031 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.1945, allocations: 0 / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1946, allocations: 176.2 kB / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1946, allocations: 0 / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1946, allocations: 0 / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.044e-05/0.1947, allocations: 34.45 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1947, allocations: 3.062 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1947, allocations: 0 / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1947, allocations: 0 / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.1948, allocations: 8 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1949, allocations: 157.6 kB / 0.6864 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.195, allocations: 26.52 kB / 0.6864 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.195, allocations: 14.39 kB / 0.6864 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.1956, allocations: 0.6105 MB / 0.687 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1957, allocations: 34.56 kB / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1957, allocations: 0.5625 kB / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.1958, allocations: 50.16 kB / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1959, allocations: 55.53 kB / 0.6872 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.1959, allocations: 97.86 kB / 0.6873 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.1959, allocations: 25.7 kB / 0.6873 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.196, allocations: 80.14 kB / 0.6874 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.196, allocations: 11.83 kB / 0.6874 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.196, allocations: 4 kB / 0.6874 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1961, allocations: 318.8 kB / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.1961, allocations: 0 / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.1961, allocations: 8 kB / 0.6877 GB, free: 11.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.411e-05/0.1961, allocations: 0 / 0.6877 GB, free: 11.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1962, allocations: 0 / 0.6877 GB, free: 11.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.823e-05/0.1962, allocations: 41.69 kB / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1962, allocations: 11.94 kB / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1962, allocations: 0 / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.1963, allocations: 0 / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.1963, allocations: 4 kB / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1963, allocations: 0 / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1963, allocations: 0 / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1964, allocations: 4.094 kB / 0.6877 GB, free: 11.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.1964, allocations: 114.5 kB / 0.6879 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.1964, allocations: 0 / 0.6879 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.1965, allocations: 44.81 kB / 0.6879 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1965, allocations: 0 / 0.6879 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1966, allocations: 0 / 0.6879 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1966, allocations: 192 / 0.6879 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.1967, allocations: 157.6 kB / 0.688 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1967, allocations: 0 / 0.688 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.1967, allocations: 15.91 kB / 0.6881 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1967, allocations: 3.984 kB / 0.6881 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-06/0.1967, allocations: 3.938 kB / 0.6881 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1967, allocations: 0 / 0.6881 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1967, allocations: 4 kB / 0.6881 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.339e-05/0.1968, allocations: 65.08 kB / 0.6881 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1969, allocations: 81.02 kB / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1969, allocations: 4.031 kB / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.1969, allocations: 0 / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1969, allocations: 7.984 kB / 0.6882 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1969, allocations: 0 / 0.6882 GB, free: 11.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.171e-05/0.197, allocations: 83.28 kB / 0.6883 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.197, allocations: 0 / 0.6883 GB, free: 11.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1972, allocations: 16 kB / 0.6883 GB, free: 11.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.1973, allocations: 111.2 kB / 0.6884 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.1974, allocations: 15.94 kB / 0.6884 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1974, allocations: 0 / 0.6884 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1974, allocations: 8 kB / 0.6884 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1976, allocations: 7.984 kB / 0.6885 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.1979, allocations: 106.6 kB / 0.6886 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.1981, allocations: 0.677 MB / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.462e-05/0.1981, allocations: 4.125 kB / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.1981, allocations: 11.44 kB / 0.6892 GB, free: 10.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1981, allocations: 3.938 kB / 0.6892 GB, free: 10.09 MB / 494.1 MB Notification: Performance of Templates: time 0.002506/0.2007, allocations: 0.5699 MB / 0.6898 GB, free: 9.523 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)