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.0009665/0.0009666, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6741/0.6741, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 68.92 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.329, allocations: 80.2 MB / 0.5801 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001963/0.331, allocations: 1.254 MB / 0.5813 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.3313, allocations: 122.7 kB / 0.5814 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.3313, allocations: 3.938 kB / 0.5814 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.3313, allocations: 9.828 kB / 0.5814 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.3314, allocations: 0.5156 kB / 0.5814 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3316, allocations: 42.97 kB / 0.5815 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.3316, allocations: 11.64 kB / 0.5815 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.3317, allocations: 6.141 kB / 0.5815 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.3317, allocations: 8.016 kB / 0.5815 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.3317, allocations: 8.609 kB / 0.5815 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3318, allocations: 0.6875 kB / 0.5815 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3319, allocations: 50.78 kB / 0.5816 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.3319, allocations: 1.984 kB / 0.5816 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.3319, allocations: 2.656 kB / 0.5816 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.332, allocations: 38.27 kB / 0.5816 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.332, allocations: 4.656 kB / 0.5816 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.332, allocations: 1.281 kB / 0.5816 GB, free: 3.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.332, allocations: 0 / 0.5816 GB, free: 3.75 MB / 430.1 MB 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.0002537/0.3323, allocations: 335.3 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3323, allocations: 8.781 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.3324, allocations: 2.094 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.3325, allocations: 167.8 kB / 0.5821 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-06/0.3325, allocations: 0.9062 kB / 0.5821 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3325, allocations: 2.094 kB / 0.5821 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.3325, allocations: 46.33 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3326, allocations: 1.312 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.3326, allocations: 0 / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3326, allocations: 0 / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.3326, allocations: 3.969 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.3327, allocations: 152.4 kB / 0.5823 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.3328, allocations: 21.75 kB / 0.5823 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.3328, allocations: 16.16 kB / 0.5823 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/0.3333, allocations: 0.6018 MB / 0.5829 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.3333, allocations: 40.86 kB / 0.583 GB, free: 2.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3334, allocations: 0 / 0.583 GB, free: 2.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001103/0.3335, allocations: 40.73 kB / 0.583 GB, free: 2.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.507e-05/0.3335, allocations: 56.67 kB / 0.5831 GB, free: 2.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.36e-05/0.3335, allocations: 99.7 kB / 0.5832 GB, free: 2.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.3335, allocations: 25.7 kB / 0.5832 GB, free: 1.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.3336, allocations: 85.48 kB / 0.5833 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.3336, allocations: 5.547 kB / 0.5833 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.3336, allocations: 14.02 kB / 0.5833 GB, free: 1.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.3337, allocations: 312 kB / 0.5836 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.3337, allocations: 7.203 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.3337, allocations: 1.375 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.3337, allocations: 22.44 kB / 0.5836 GB, free: 1.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3337, allocations: 0.75 kB / 0.5836 GB, free: 1.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.282e-05/0.3338, allocations: 48.3 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.3338, allocations: 5.062 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3338, allocations: 1.344 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3338, allocations: 0.8438 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.3339, allocations: 2.812 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3339, allocations: 2.219 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.3339, allocations: 4 kB / 0.5837 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.3339, allocations: 4.969 kB / 0.5837 GB, free: 1.48 MB / 430.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 (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 3.663e-05/0.3339, allocations: 108.9 kB / 0.5838 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.334, allocations: 5.578 kB / 0.5838 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.334, allocations: 48.86 kB / 0.5838 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.334, allocations: 0.6562 kB / 0.5838 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.334, allocations: 4.828 kB / 0.5838 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.3341, allocations: 0 / 0.5838 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.23e-05/0.3341, allocations: 152.8 kB / 0.584 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3341, allocations: 4.031 kB / 0.584 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3341, allocations: 8.812 kB / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3341, allocations: 0 / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.3342, allocations: 0 / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3342, allocations: 2.031 kB / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3342, allocations: 0 / 0.584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.565e-05/0.3342, allocations: 65.92 kB / 0.5841 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.3342, allocations: 81.66 kB / 0.5841 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3343, allocations: 5.75 kB / 0.5841 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.3343, allocations: 1.188 kB / 0.5841 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.3343, allocations: 4.453 kB / 0.5841 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3343, allocations: 2.359 kB / 0.5841 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.3343, allocations: 82.5 kB / 0.5842 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3343, allocations: 0 / 0.5842 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.3345, allocations: 16.67 kB / 0.5842 GB, free: 0.8594 MB / 430.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 (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.0001186/0.3346, allocations: 110 kB / 0.5843 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.3347, allocations: 16.36 kB / 0.5844 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3347, allocations: 0 / 0.5844 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.3347, allocations: 8.938 kB / 0.5844 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.3349, allocations: 5.391 kB / 0.5844 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.3351, allocations: 107.7 kB / 0.5845 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3352, allocations: 0.6799 MB / 0.5851 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.3353, allocations: 5.656 kB / 0.5852 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.3353, allocations: 9.203 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3353, allocations: 0 / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002297/0.3376, allocations: 0.5959 MB / 0.5857 GB, free: 15.87 MB / 446.1 MB 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)