Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 172.8 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007306/0.0007306, allocations: 96.33 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 16.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.32, allocations: 131 MB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.3203, allocations: 75.95 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002402/0.3227, allocations: 0.9619 MB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3227, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3227, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6823 GB 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.0002701/0.323, allocations: 315.6 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3231, allocations: 8.031 kB / 1.031 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.3232, allocations: 12.92 kB / 1.031 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.3233, allocations: 172.3 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3233, allocations: 384 / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3234, allocations: 384 / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3235, allocations: 38.25 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.3235, allocations: 4.188 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3235, allocations: 3.938 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3235, allocations: 0 / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.3236, allocations: 23.92 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.3238, allocations: 153.6 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3239, allocations: 38.56 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.324, allocations: 20.91 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.324, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.324, allocations: 34.56 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3241, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001944/0.3243, allocations: 61.53 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3243, allocations: 55.41 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.294e-05/0.3243, allocations: 89.86 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3244, allocations: 29.7 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.3244, allocations: 80.14 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3244, allocations: 7.906 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.3244, allocations: 0 / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3246, allocations: 312.4 kB / 1.032 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.3246, allocations: 11.92 kB / 1.032 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.3246, allocations: 8 kB / 1.032 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.3247, allocations: 28.84 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3247, allocations: 0 / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.3248, allocations: 53.56 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3249, allocations: 7.984 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3249, allocations: 0 / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3249, allocations: 3.938 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3252, allocations: 43.94 kB / 1.032 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.3263, allocations: 1.306 MB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.3264, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3264, allocations: 3.984 kB / 1.033 GB, free: 8.215 MB / 0.6823 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.3265, allocations: 109.8 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.3265, allocations: 12.03 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.3265, allocations: 3.5 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3265, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.3265, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3265, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.045e-05/0.3266, allocations: 161.6 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3266, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.3269, allocations: 51.92 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.327, allocations: 0 / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.327, allocations: 0 / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/0.328, allocations: 1.314 MB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.328, allocations: 0 / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.3281, allocations: 81.17 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3282, allocations: 77.11 kB / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.3282, allocations: 0 / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.595e-05/0.3282, allocations: 7.938 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.3282, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3282, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.3283, allocations: 75.28 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3283, allocations: 0 / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001762/0.3285, allocations: 8 kB / 1.035 GB, free: 6.098 MB / 0.6823 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.3286, allocations: 107.2 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.329, allocations: 59.86 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.329, allocations: 4 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3292, allocations: 43.89 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.3293, allocations: 1.203 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.3296, allocations: 95.19 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.3298, allocations: 0.677 MB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.3298, allocations: 4 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.3299, allocations: 11.38 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3299, allocations: 0 / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of Templates: time 0.001954/0.3318, allocations: 386.6 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)