Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001398/0.001398, allocations: 105.4 kB / 15.99 MB, free: 6.352 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.001588/0.001588, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.273/1.273, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7412/0.7412, allocations: 132.2 MB / 422.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 55.91 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3817, allocations: 80.18 MB / 0.5802 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002238/0.384, allocations: 1.347 MB / 0.5815 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004783/0.3845, allocations: 308 kB / 0.5818 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.3845, allocations: 0 / 0.5818 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3846, allocations: 0.7812 kB / 0.5818 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3847, allocations: 18.08 kB / 0.5818 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.385, allocations: 64.3 kB / 0.5819 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.385, allocations: 39.22 kB / 0.5819 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.3851, allocations: 1.875 kB / 0.5819 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.3852, allocations: 33.67 kB / 0.582 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.3852, allocations: 12.05 kB / 0.582 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3853, allocations: 1.938 kB / 0.582 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3854, allocations: 87.19 kB / 0.5821 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3854, allocations: 1.406 kB / 0.5821 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.3855, allocations: 9.969 kB / 0.5821 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3856, allocations: 53.67 kB / 0.5821 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3856, allocations: 0 / 0.5821 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3856, allocations: 1.25 kB / 0.5821 GB, free: 26.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3856, allocations: 0 / 0.5821 GB, free: 26.04 MB / 446.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.0003165/0.3859, allocations: 356.1 kB / 0.5825 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.386, allocations: 9.812 kB / 0.5825 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.386, allocations: 6.438 kB / 0.5825 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.3861, allocations: 180.7 kB / 0.5827 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3861, allocations: 384 / 0.5827 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3861, allocations: 1.688 kB / 0.5827 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.3862, allocations: 39.97 kB / 0.5827 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3862, allocations: 1.531 kB / 0.5827 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3863, allocations: 5.469 kB / 0.5827 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3863, allocations: 3.984 kB / 0.5827 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.3863, allocations: 6.812 kB / 0.5827 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.3864, allocations: 160.2 kB / 0.5829 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.3865, allocations: 40.33 kB / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.3865, allocations: 12.33 kB / 0.5829 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.3873, allocations: 1.186 MB / 0.5841 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3874, allocations: 35.81 kB / 0.5841 GB, free: 23.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3874, allocations: 0 / 0.5841 GB, free: 23.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001427/0.3875, allocations: 47.81 kB / 0.5842 GB, free: 23.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.3875, allocations: 53.78 kB / 0.5842 GB, free: 23.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.3876, allocations: 115.1 kB / 0.5843 GB, free: 23.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.3876, allocations: 26.95 kB / 0.5843 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.412e-05/0.3876, allocations: 81.7 kB / 0.5844 GB, free: 23.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3877, allocations: 11.81 kB / 0.5844 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3877, allocations: 19.67 kB / 0.5845 GB, free: 23.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.3878, allocations: 313.1 kB / 0.5848 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.3878, allocations: 6.906 kB / 0.5848 GB, free: 23.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.3878, allocations: 2.438 kB / 0.5848 GB, free: 23.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.3878, allocations: 25.81 kB / 0.5848 GB, free: 23.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3878, allocations: 3.938 kB / 0.5848 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.85e-05/0.3879, allocations: 46.42 kB / 0.5848 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3879, allocations: 7.469 kB / 0.5848 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3879, allocations: 0.5938 kB / 0.5848 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.388, allocations: 1.375 kB / 0.5848 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.388, allocations: 13.05 kB / 0.5849 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.388, allocations: 5.156 kB / 0.5849 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.388, allocations: 0.5 kB / 0.5849 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3881, allocations: 1.156 kB / 0.5849 GB, free: 23.01 MB / 446.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 (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 4.821e-05/0.3881, allocations: 110 kB / 0.585 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.3881, allocations: 9.094 kB / 0.585 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3882, allocations: 58.62 kB / 0.585 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3883, allocations: 5.609 kB / 0.585 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3883, allocations: 0 / 0.585 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3883, allocations: 2.594 kB / 0.585 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.113e-05/0.3883, allocations: 158.8 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3883, allocations: 1.125 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.3884, allocations: 15.73 kB / 0.5852 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3884, allocations: 2.875 kB / 0.5852 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3884, allocations: 1.25 kB / 0.5852 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3884, allocations: 0 / 0.5852 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3884, allocations: 0 / 0.5852 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.3885, allocations: 72.62 kB / 0.5853 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3885, allocations: 92.34 kB / 0.5854 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3885, allocations: 2.062 kB / 0.5854 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.3886, allocations: 0 / 0.5854 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.3886, allocations: 4.438 kB / 0.5854 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3886, allocations: 1.344 kB / 0.5854 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.3887, allocations: 88.64 kB / 0.5855 GB, free: 22.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3887, allocations: 1.125 kB / 0.5855 GB, free: 22.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.3889, allocations: 24.16 kB / 0.5855 GB, free: 22.36 MB / 446.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 (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.00017/0.389, allocations: 128.7 kB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.3891, allocations: 18.05 kB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3892, allocations: 1.25 kB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.3892, allocations: 6.094 kB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3894, allocations: 8.812 kB / 0.5856 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.3897, allocations: 174.6 kB / 0.5858 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.883e-05/0.3898, allocations: 0.6779 MB / 0.5865 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.3898, allocations: 15.31 kB / 0.5865 GB, free: 21.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3898, allocations: 3.938 kB / 0.5865 GB, free: 21.36 MB / 446.1 MB Notification: Performance of Templates: time 0.001875/0.3917, allocations: 0.722 MB / 0.5872 GB, free: 21.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)