Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005008/0.005008, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001174/0.001174, allocations: 195 kB / 16.67 MB, free: 5.977 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 62.5 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 80.19 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002299/0.2144, allocations: 1.266 MB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.2148, allocations: 127.8 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.2148, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.2148, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.2149, allocations: 7.938 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2152, allocations: 35.88 kB / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.2152, allocations: 15.94 kB / 0.6611 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.2153, allocations: 4 kB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.2153, allocations: 7.938 kB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.2154, allocations: 7.984 kB / 0.6611 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2154, allocations: 0 / 0.6611 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2155, allocations: 51.94 kB / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.2156, allocations: 0 / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2156, allocations: 11.88 kB / 0.6612 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.2158, allocations: 39.88 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2158, allocations: 4 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2158, allocations: 0 / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2158, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 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.0004824/0.2163, allocations: 335.3 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2163, allocations: 12.03 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.2164, allocations: 0.9375 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2165, allocations: 164.3 kB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.2165, allocations: 384 / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2166, allocations: 8.359 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.867e-05/0.2166, allocations: 33.64 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2167, allocations: 8 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2167, allocations: 0 / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2167, allocations: 0 / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.2167, allocations: 7.938 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2169, allocations: 149.7 kB / 0.6619 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.217, allocations: 22.61 kB / 0.6619 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.217, allocations: 8.859 kB / 0.6619 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.2178, allocations: 0.6169 MB / 0.6625 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2178, allocations: 34.5 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2178, allocations: 0 / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.218, allocations: 45.64 kB / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2181, allocations: 55.39 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.2182, allocations: 93.86 kB / 0.6627 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2182, allocations: 25.7 kB / 0.6628 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.2182, allocations: 88.27 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2182, allocations: 7.953 kB / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.2183, allocations: 9.719 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2184, allocations: 318.8 kB / 0.6632 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.2184, allocations: 4 kB / 0.6632 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-06/0.2184, allocations: 4 kB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.2185, allocations: 8.859 kB / 0.6632 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2185, allocations: 4.062 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.108e-05/0.2185, allocations: 49.53 kB / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2186, allocations: 7.984 kB / 0.6632 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2186, allocations: 4 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2186, allocations: 0 / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.2187, allocations: 4 kB / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2187, allocations: 4 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.2187, allocations: 3.938 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.2187, allocations: 0 / 0.6633 GB, free: 6.238 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 (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 7.376e-05/0.2188, allocations: 110.8 kB / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.2188, allocations: 7.938 kB / 0.6634 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2189, allocations: 48.75 kB / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2189, allocations: 0 / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.219, allocations: 0 / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.219, allocations: 0 / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2191, allocations: 153.7 kB / 0.6636 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2191, allocations: 3.938 kB / 0.6636 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.2191, allocations: 4 kB / 0.6636 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2191, allocations: 4.031 kB / 0.6636 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2191, allocations: 0 / 0.6636 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2191, allocations: 0 / 0.6636 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2191, allocations: 0 / 0.6636 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.2192, allocations: 65.12 kB / 0.6636 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2193, allocations: 81.05 kB / 0.6637 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2193, allocations: 0 / 0.6637 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.2193, allocations: 0 / 0.6637 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.2193, allocations: 12.02 kB / 0.6637 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2194, allocations: 4 kB / 0.6637 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2194, allocations: 79.22 kB / 0.6638 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2194, allocations: 3.938 kB / 0.6638 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001909/0.2196, allocations: 15.94 kB / 0.6638 GB, free: 5.551 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 (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.0001683/0.2198, allocations: 115.2 kB / 0.6639 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.2199, allocations: 12 kB / 0.664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2199, allocations: 4.062 kB / 0.664 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.2199, allocations: 4 kB / 0.664 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2202, allocations: 11.92 kB / 0.664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.2204, allocations: 106 kB / 0.6641 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2207, allocations: 0.6729 MB / 0.6647 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.2207, allocations: 12.02 kB / 0.6647 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.2208, allocations: 7.438 kB / 0.6647 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2208, allocations: 3.938 kB / 0.6647 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.002731/0.2235, allocations: 0.5916 MB / 0.6653 GB, free: 3.957 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)