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.00868/0.00868, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001651/0.001651, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003097/0.003097, allocations: 275 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 99.83 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2087, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002306/0.211, allocations: 1.256 MB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.2113, allocations: 123.5 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.2114, allocations: 4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2114, allocations: 3.938 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.2115, allocations: 3.984 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2117, allocations: 39.83 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.2118, allocations: 11.92 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.2118, allocations: 8 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2119, allocations: 7.938 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.2119, allocations: 3.984 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2119, allocations: 8 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2121, allocations: 51.94 kB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.2121, allocations: 0 / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.2121, allocations: 3.938 kB / 0.7679 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2123, allocations: 39.88 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2123, allocations: 0 / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2123, allocations: 0 / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2123, allocations: 0 / 0.7679 GB, free: 6.891 MB / 0.5606 GB 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.0004186/0.2127, allocations: 339.3 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2128, allocations: 12.03 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.2128, allocations: 4.938 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.213, allocations: 168.4 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.213, allocations: 4.312 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.213, allocations: 384 / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.2131, allocations: 45.56 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2131, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2131, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2131, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.2131, allocations: 8 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2133, allocations: 153.7 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/0.2134, allocations: 18.61 kB / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.2134, allocations: 16.86 kB / 0.7686 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.2141, allocations: 0.6051 MB / 0.7692 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2142, allocations: 42.48 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2142, allocations: 0 / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.2143, allocations: 41.66 kB / 0.7693 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2144, allocations: 55.41 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.2144, allocations: 101.8 kB / 0.7695 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2145, allocations: 25.7 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.2145, allocations: 84.14 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2145, allocations: 0 / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.2146, allocations: 17.84 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2147, allocations: 310.8 kB / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.2147, allocations: 4 kB / 0.7699 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.2147, allocations: 7.984 kB / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.2148, allocations: 12.8 kB / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2148, allocations: 0 / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.89e-05/0.2148, allocations: 49.59 kB / 0.7699 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2148, allocations: 4 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2149, allocations: 8.078 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.2149, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.2149, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.215, allocations: 0 / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.215, allocations: 3.984 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.215, allocations: 0 / 0.77 GB, free: 4.422 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 8.005e-05/0.2151, allocations: 110.5 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.2151, allocations: 3.938 kB / 0.7701 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.2152, allocations: 56.69 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2152, allocations: 0 / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2152, allocations: 0 / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2152, allocations: 4 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2153, allocations: 149.7 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2153, allocations: 3.938 kB / 0.7703 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.2154, allocations: 4 kB / 0.7703 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2154, allocations: 0 / 0.7703 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2154, allocations: 4 kB / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2154, allocations: 0 / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2154, allocations: 0 / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.079e-05/0.2155, allocations: 73.09 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.2156, allocations: 85 kB / 0.7704 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2156, allocations: 4 kB / 0.7704 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.2157, allocations: 0 / 0.7704 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.2157, allocations: 0 / 0.7704 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2157, allocations: 7.938 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.2157, allocations: 79.28 kB / 0.7705 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2157, allocations: 4.031 kB / 0.7705 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001895/0.2159, allocations: 19.92 kB / 0.7705 GB, free: 3.727 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0001652/0.2161, allocations: 107.2 kB / 0.7707 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.2162, allocations: 15.98 kB / 0.7707 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2162, allocations: 0 / 0.7707 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.2162, allocations: 7.938 kB / 0.7707 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2165, allocations: 7.938 kB / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.2167, allocations: 102.3 kB / 0.7708 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.217, allocations: 0.6806 MB / 0.7714 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.217, allocations: 4 kB / 0.7714 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.2171, allocations: 7.438 kB / 0.7715 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2171, allocations: 0 / 0.7715 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.002625/0.2197, allocations: 0.5943 MB / 0.772 GB, free: 2.141 MB / 0.5606 GB 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)