Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001479/0.001479, allocations: 191.9 kB / 16.14 MB, free: 6.637 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002742/0.002742, allocations: 283.1 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 94.58 kB / 0.6057 GB, free: 25.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1864, allocations: 89.16 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002852/0.1892, allocations: 1.344 MB / 0.6941 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.19, allocations: 324.8 kB / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.19, allocations: 0 / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.19, allocations: 3.984 kB / 0.6944 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1901, allocations: 15.91 kB / 0.6944 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1905, allocations: 55.88 kB / 0.6945 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.1906, allocations: 31.86 kB / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.1906, allocations: 7.984 kB / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1907, allocations: 23.86 kB / 0.6945 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.1908, allocations: 7.938 kB / 0.6946 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1908, allocations: 0 / 0.6946 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.191, allocations: 87.91 kB / 0.6946 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.191, allocations: 11.92 kB / 0.6947 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.1911, allocations: 15.92 kB / 0.6947 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1913, allocations: 72.06 kB / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1913, allocations: 0 / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1913, allocations: 0 / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1913, allocations: 0 / 0.6947 GB, free: 2.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000469/0.1918, allocations: 351.5 kB / 0.6951 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1918, allocations: 12.03 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1919, allocations: 12.84 kB / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.192, allocations: 168.3 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.192, allocations: 4.375 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1921, allocations: 4.359 kB / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1922, allocations: 41.81 kB / 0.6953 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1922, allocations: 3.938 kB / 0.6953 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1922, allocations: 0 / 0.6953 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1922, allocations: 0 / 0.6953 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.1923, allocations: 15.98 kB / 0.6953 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1925, allocations: 161.6 kB / 0.6955 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.1926, allocations: 38.5 kB / 0.6955 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1926, allocations: 8.922 kB / 0.6955 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.1938, allocations: 1.187 MB / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1939, allocations: 38.5 kB / 0.6967 GB, free: 408 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1939, allocations: 0 / 0.6967 GB, free: 408 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001633/0.1941, allocations: 49.69 kB / 0.6968 GB, free: 352 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1941, allocations: 59.28 kB / 0.6968 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.1942, allocations: 105.8 kB / 0.6969 GB, free: 164 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1942, allocations: 25.7 kB / 0.6969 GB, free: 132 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1943, allocations: 84.14 kB / 0.697 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1943, allocations: 11.84 kB / 0.697 GB, free: 32 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1943, allocations: 21.62 kB / 0.6971 GB, free: 4 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1945, allocations: 314.8 kB / 0.6974 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.1945, allocations: 4 kB / 0.6974 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.1945, allocations: 8 kB / 0.6974 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.1946, allocations: 12.86 kB / 0.6974 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1946, allocations: 4 kB / 0.6974 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.511e-05/0.1947, allocations: 53.56 kB / 0.6974 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1947, allocations: 4 kB / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1947, allocations: 0 / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1947, allocations: 0 / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.1948, allocations: 4 kB / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1948, allocations: 4.297 kB / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1948, allocations: 8 kB / 0.6975 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.1948, allocations: 0 / 0.6975 GB, free: 15.58 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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 9.196e-05/0.1949, allocations: 105.8 kB / 0.6976 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1949, allocations: 11.94 kB / 0.6976 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1951, allocations: 57.91 kB / 0.6976 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1951, allocations: 8.031 kB / 0.6976 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1951, allocations: 3.938 kB / 0.6976 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1951, allocations: 0 / 0.6976 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.1952, allocations: 161.6 kB / 0.6978 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1953, allocations: 0 / 0.6978 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1953, allocations: 11.94 kB / 0.6978 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1953, allocations: 4 kB / 0.6978 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1953, allocations: 0 / 0.6978 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1953, allocations: 0 / 0.6978 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1953, allocations: 3.938 kB / 0.6978 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1954, allocations: 73.12 kB / 0.6979 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.1955, allocations: 89.03 kB / 0.698 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1955, allocations: 4 kB / 0.698 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.1956, allocations: 3.938 kB / 0.698 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.1956, allocations: 4 kB / 0.698 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.1956, allocations: 4 kB / 0.698 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.1957, allocations: 91.25 kB / 0.6981 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1957, allocations: 3.938 kB / 0.6981 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002208/0.1959, allocations: 27.94 kB / 0.6981 GB, free: 14.82 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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.0002076/0.1961, allocations: 123.2 kB / 0.6982 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.1962, allocations: 15.98 kB / 0.6982 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1962, allocations: 4 kB / 0.6982 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.1962, allocations: 8 kB / 0.6982 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1965, allocations: 7.938 kB / 0.6982 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.1968, allocations: 135.7 kB / 0.6984 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1971, allocations: 0.677 MB / 0.699 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.1972, allocations: 11.98 kB / 0.6991 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1972, allocations: 11.44 kB / 0.6991 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.445e-06/0.1972, allocations: 0 / 0.6991 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.003239/0.2005, allocations: 0.7756 MB / 0.6998 GB, free: 12.99 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)