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.421/1.421, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001643/0.001643, allocations: 183.3 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008935/0.0008935, allocations: 87.94 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 9.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001671/0.2191, allocations: 1.172 MB / 0.8979 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003293/0.2194, allocations: 93.34 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.2195, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.2195, allocations: 3.938 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.2196, allocations: 3.984 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.2198, allocations: 11.98 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.2199, allocations: 27.92 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.22, allocations: 11.94 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.22, allocations: 7.938 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.2201, allocations: 11.98 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2201, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.2202, allocations: 15.98 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.2202, allocations: 3.938 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2202, allocations: 15.92 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.847e-05/0.2203, allocations: 19.89 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2203, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2203, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2203, allocations: 0 / 0.8981 GB, free: 66.77 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.0004105/0.2207, allocations: 347.5 kB / 0.8984 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2208, allocations: 8.031 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.221, allocations: 20.83 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.2211, allocations: 164.3 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2211, allocations: 384 / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2212, allocations: 8.375 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.2214, allocations: 66.22 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2214, allocations: 192 / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2214, allocations: 3.938 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2214, allocations: 4 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2216, allocations: 67.89 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.222, allocations: 264.9 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2222, allocations: 62.48 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2223, allocations: 40.89 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2224, allocations: 0 / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2224, allocations: 38.56 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2224, allocations: 0 / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004512/0.2229, allocations: 129.5 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2229, allocations: 51.41 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.223, allocations: 105.8 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.223, allocations: 25.7 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.223, allocations: 92.27 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.2231, allocations: 3.906 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.2231, allocations: 9.719 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2232, allocations: 322.8 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2233, allocations: 27.98 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.2234, allocations: 35.97 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.2236, allocations: 64.88 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2236, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002333/0.2238, allocations: 105.5 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2238, allocations: 8 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2238, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2239, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.224, allocations: 11.98 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.224, allocations: 4.25 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.2241, allocations: 12.02 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2241, allocations: 8 kB / 0.9001 GB, free: 64.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.2242, allocations: 113.8 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2242, allocations: 4 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.2242, allocations: 3.531 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2242, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2242, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2242, allocations: 3.984 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.2244, allocations: 169.6 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2244, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.2245, allocations: 19.98 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2245, allocations: 7.922 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2248, allocations: 191.4 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.2248, allocations: 81.11 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2248, allocations: 3.984 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.2249, allocations: 19.97 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.225, allocations: 3.984 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.225, allocations: 4 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.225, allocations: 79.28 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.225, allocations: 0 / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002076/0.2252, allocations: 4 kB / 0.9008 GB, free: 63.68 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 (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.0001114/0.2254, allocations: 99.25 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.2256, allocations: 75.81 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2256, allocations: 0 / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2257, allocations: 32.05 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.226, allocations: 15.92 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.2264, allocations: 151.7 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2266, allocations: 0.6808 MB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.2266, allocations: 11.44 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/0.2266, allocations: 0 / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.002104/0.2287, allocations: 0.6182 MB / 0.9024 GB, free: 61.94 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)