Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.276/1.276, 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.0009553/0.0009554, allocations: 180.9 kB / 327.6 MB, free: 2.156 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.43/1.43, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.0007575/0.0007575, allocations: 89.98 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.000348, allocations: 13.78 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.3194, allocations: 131.7 MB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3196, allocations: 71.95 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001953/0.3216, allocations: 0.7896 MB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3216, allocations: 0 / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3216, allocations: 0 / 1.031 GB, free: 10.98 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.00034/0.322, allocations: 344.5 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.322, allocations: 8.031 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3222, allocations: 24.92 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3223, allocations: 168.3 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3223, allocations: 384 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.3224, allocations: 384 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3226, allocations: 66.22 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3226, allocations: 192 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3226, allocations: 3.938 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3226, allocations: 4 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3228, allocations: 59.95 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.3233, allocations: 284.8 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3235, allocations: 66.48 kB / 1.032 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3236, allocations: 36.89 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3236, allocations: 4 kB / 1.032 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3236, allocations: 30.56 kB / 1.032 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3236, allocations: 0 / 1.032 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.3241, allocations: 133.7 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3241, allocations: 51.41 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.3242, allocations: 101.8 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3242, allocations: 29.7 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.3242, allocations: 84.05 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3243, allocations: 4 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.3243, allocations: 3.938 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3244, allocations: 314.8 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3245, allocations: 32 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.3246, allocations: 35.97 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3248, allocations: 64.88 kB / 1.033 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3248, allocations: 3.938 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002299/0.325, allocations: 101.4 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3251, allocations: 8 kB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3251, allocations: 0 / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3251, allocations: 3.984 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3252, allocations: 20.03 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3252, allocations: 3.984 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.3253, allocations: 8 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3253, allocations: 0 / 1.033 GB, free: 8.695 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 (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 7.588e-05/0.3254, allocations: 113.8 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3254, allocations: 4 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3255, allocations: 7.531 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3255, allocations: 4 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3255, allocations: 3.984 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3255, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3256, allocations: 165.6 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3256, allocations: 0 / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.3257, allocations: 15.98 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3257, allocations: 0 / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3258, allocations: 256 / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3258, allocations: 3.938 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3258, allocations: 8 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3261, allocations: 203.3 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.3261, allocations: 77.11 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3261, allocations: 0 / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.3262, allocations: 11.98 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3263, allocations: 0 / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3263, allocations: 4 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.3263, allocations: 87.27 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3263, allocations: 4.031 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002003/0.3265, allocations: 4 kB / 1.033 GB, free: 7.895 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 (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 9.849e-05/0.3266, allocations: 95.25 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3269, allocations: 71.89 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3269, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.327, allocations: 31.97 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3273, allocations: 11.88 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.3276, allocations: 136.8 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3278, allocations: 0.677 MB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.3279, allocations: 0 / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.3279, allocations: 15.44 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3279, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of Templates: time 0.002123/0.3301, allocations: 495.7 kB / 1.035 GB, free: 6.32 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)