Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008104/0.0008103, allocations: 90.98 kB / 15.06 MB, free: 1.094 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.0007878/0.0007879, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004851, allocations: 12.66 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001098/0.2375, allocations: 0.9781 MB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.2377, allocations: 111.7 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.2377, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.176e-06/0.2377, allocations: 3.938 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.2378, allocations: 7.984 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.2379, allocations: 23.91 kB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.889e-05/0.2379, allocations: 11.94 kB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.823e-05/0.238, allocations: 0 / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.238, allocations: 15.92 kB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.238, allocations: 3.984 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.238, allocations: 4 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.2381, allocations: 47.95 kB / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.2382, allocations: 3.984 kB / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.2382, allocations: 25.7 kB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.343e-05/0.2382, allocations: 28.25 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2383, allocations: 0 / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2383, allocations: 0 / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.2383, allocations: 0 / 0.7885 GB, free: 10.68 MB / 0.6075 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.0002796/0.2386, allocations: 323.4 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2386, allocations: 8.031 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.2386, allocations: 15.84 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2387, allocations: 163 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2387, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-06/0.2388, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.359e-05/0.2388, allocations: 33.69 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2388, allocations: 3.938 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.2389, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2389, allocations: 3.984 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.2389, allocations: 4 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.239, allocations: 161.6 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.2391, allocations: 22.55 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.2391, allocations: 12.92 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.2397, allocations: 0.6091 MB / 0.7898 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2397, allocations: 34.56 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2397, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001118/0.2398, allocations: 41.7 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2399, allocations: 55.34 kB / 0.7899 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.2399, allocations: 101.8 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2399, allocations: 25.7 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.24, allocations: 80.14 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.24, allocations: 15.83 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.24, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.2401, allocations: 315 kB / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.2401, allocations: 4 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.2401, allocations: 4 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.2401, allocations: 11.92 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2401, allocations: 0 / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.808e-05/0.2402, allocations: 41.66 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2402, allocations: 4 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2402, allocations: 0 / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.2402, allocations: 4.094 kB / 0.7905 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.2403, allocations: 4 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2403, allocations: 3.938 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.2403, allocations: 0 / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2403, allocations: 4 kB / 0.7905 GB, free: 8.25 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.2404, allocations: 110.5 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.2404, allocations: 3.953 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.2405, allocations: 44.81 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2405, allocations: 8.031 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2405, allocations: 0 / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2405, allocations: 3.938 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.9e-05/0.2406, allocations: 153.6 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2406, allocations: 0 / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.2406, allocations: 3.984 kB / 0.7909 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2407, allocations: 7.953 kB / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.2407, allocations: 0 / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2407, allocations: 0 / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2407, allocations: 3.938 kB / 0.7909 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.2408, allocations: 69.12 kB / 0.7909 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.2408, allocations: 81.11 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2408, allocations: 3.953 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.2408, allocations: 4 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.2409, allocations: 0 / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2409, allocations: 0 / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.2409, allocations: 79.28 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2409, allocations: 0 / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001818/0.2411, allocations: 28.02 kB / 0.7911 GB, free: 7.551 MB / 0.6075 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 (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.0001276/0.2412, allocations: 107.2 kB / 0.7912 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.712e-05/0.2413, allocations: 11.94 kB / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2413, allocations: 0 / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.2413, allocations: 7.984 kB / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2415, allocations: 8 kB / 0.7912 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001825/0.2417, allocations: 106.8 kB / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2419, allocations: 0.677 MB / 0.792 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.2419, allocations: 7.875 kB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.2419, allocations: 11.44 kB / 0.792 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2419, allocations: 0 / 0.792 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of Templates: time 0.002049/0.244, allocations: 0.5712 MB / 0.7926 GB, free: 5.984 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: