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.477/1.477, allocations: 252 MB / 267.6 MB, free: 10.91 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.001019/0.001019, allocations: 178.2 kB / 327.3 MB, free: 2.207 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.8/1.8, allocations: 205.4 MB / 0.5783 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.0007629/0.000763, allocations: 86.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003327, allocations: 8.906 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001453/0.2037, allocations: 1.161 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.204, allocations: 84.62 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.204, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.204, allocations: 4 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.2041, allocations: 3.938 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.2042, allocations: 15.98 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.532e-05/0.2043, allocations: 23.92 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.2044, allocations: 11.98 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.2045, allocations: 11.92 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.426e-05/0.2045, allocations: 4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2045, allocations: 4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.2046, allocations: 15.98 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-06/0.2046, allocations: 11.92 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.2046, allocations: 25.7 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.351e-05/0.2047, allocations: 23.91 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2047, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2047, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2047, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 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.0003707/0.2051, allocations: 339.6 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2051, allocations: 16.03 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.2053, allocations: 15.89 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.2054, allocations: 175 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2054, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2055, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2056, allocations: 65.67 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2057, allocations: 11.86 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2057, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2057, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2059, allocations: 67.94 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.2063, allocations: 264.9 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.2064, allocations: 66.53 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2066, allocations: 32.91 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2066, allocations: 4 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2066, allocations: 34.5 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2066, allocations: 4 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004176/0.207, allocations: 125.7 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.2071, allocations: 51.41 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.2071, allocations: 105.8 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.2071, allocations: 25.7 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.2072, allocations: 88.05 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2072, allocations: 3.984 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2072, allocations: 0 / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.2073, allocations: 318.8 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2074, allocations: 36 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.2075, allocations: 31.92 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2076, allocations: 36.03 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2076, allocations: 0 / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002276/0.2078, allocations: 97.56 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2078, allocations: 4 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2079, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2079, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.208, allocations: 15.98 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.208, allocations: 256 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.2081, allocations: 16.02 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2081, allocations: 4 kB / 0.9041 GB, free: 60.24 MB / 0.6042 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 4.89e-05/0.2081, allocations: 113.8 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2082, allocations: 7.922 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.2082, allocations: 7.531 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2082, allocations: 0 / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2082, allocations: 4 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2082, allocations: 0 / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2083, allocations: 169.5 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2084, allocations: 3.938 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.2084, allocations: 15.98 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2084, allocations: 0 / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2085, allocations: 0 / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2085, allocations: 0 / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2085, allocations: 0 / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2087, allocations: 203.4 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.2088, allocations: 77.11 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2088, allocations: 0 / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2089, allocations: 16.02 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.209, allocations: 4 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.209, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.209, allocations: 87.27 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2091, allocations: 0 / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002346/0.2093, allocations: 4 kB / 0.9048 GB, free: 59.45 MB / 0.6042 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 0.0001004/0.2094, allocations: 107.1 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2097, allocations: 63.95 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2097, allocations: 0 / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2098, allocations: 36.03 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2101, allocations: 9.734 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.2104, allocations: 154.5 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.2105, allocations: 0.677 MB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2106, allocations: 11.44 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2106, allocations: 0 / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.001665/0.2123, allocations: 0.6308 MB / 0.9065 GB, free: 57.71 MB / 0.6042 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)