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.46/1.46, allocations: 252 MB / 268 MB, free: 10.86 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.001009/0.001009, allocations: 185.3 kB / 327.6 MB, free: 2.074 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.111/2.111, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008188/0.0008187, allocations: 94.5 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 11.72 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2156, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001497/0.2171, allocations: 1.172 MB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.2174, allocations: 92.59 kB / 0.9027 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.2175, allocations: 4 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.2175, allocations: 0 / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/0.2176, allocations: 3.938 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2177, allocations: 19.97 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.2178, allocations: 19.92 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.2179, allocations: 12 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.2179, allocations: 7.938 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.218, allocations: 15.92 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.218, allocations: 0 / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.016e-05/0.2181, allocations: 15.98 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2181, allocations: 4 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.2181, allocations: 37.62 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.294e-05/0.2182, allocations: 19.95 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2182, allocations: 4 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2182, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2182, allocations: 0 / 0.9028 GB, free: 61.91 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.0003557/0.2186, allocations: 347.8 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2186, allocations: 8.031 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2188, allocations: 20.83 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.2189, allocations: 168.3 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2189, allocations: 8.359 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.2189, allocations: 384 / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2191, allocations: 66.17 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2191, allocations: 4.188 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2191, allocations: 7.938 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2192, allocations: 0 / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2194, allocations: 63.94 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.2197, allocations: 257 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.2198, allocations: 66.48 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.22, allocations: 36.89 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.22, allocations: 3.938 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.22, allocations: 38.56 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.22, allocations: 3.938 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003902/0.2204, allocations: 125.6 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2204, allocations: 55.41 kB / 0.9041 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.2205, allocations: 105.8 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2205, allocations: 29.64 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.2205, allocations: 88.14 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.2206, allocations: 7.891 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.2206, allocations: 0 / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.2206, allocations: 314.9 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.2207, allocations: 27.98 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.2208, allocations: 35.91 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.221, allocations: 68.88 kB / 0.9047 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.221, allocations: 0 / 0.9047 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002167/0.2213, allocations: 101.6 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2213, allocations: 8 kB / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2213, allocations: 0 / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2213, allocations: 4.031 kB / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2214, allocations: 15.98 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2214, allocations: 0 / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.2215, allocations: 11.98 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2215, allocations: 0 / 0.9048 GB, free: 59.63 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 5.219e-05/0.2216, allocations: 113.7 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2216, allocations: 8 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.2216, allocations: 7.531 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2216, allocations: 0 / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2216, allocations: 0 / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2216, allocations: 0 / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2218, allocations: 165.6 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2218, allocations: 3.984 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.2218, allocations: 12 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2219, allocations: 0 / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.2219, allocations: 7.984 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2219, allocations: 0 / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2219, allocations: 3.984 kB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2221, allocations: 199.4 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.2222, allocations: 81.09 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.2222, allocations: 3.938 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.2223, allocations: 8 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2223, allocations: 7.922 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2223, allocations: 4 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.2223, allocations: 87.31 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2224, allocations: 0 / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001915/0.2226, allocations: 4 kB / 0.9055 GB, free: 58.84 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 8.777e-05/0.2226, allocations: 99.19 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2229, allocations: 71.94 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2229, allocations: 0 / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.223, allocations: 35.91 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2233, allocations: 14.3 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.2236, allocations: 158.3 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.2237, allocations: 0.677 MB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2237, allocations: 15.42 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.2237, allocations: 4 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.001585/0.2253, allocations: 0.6145 MB / 0.9072 GB, free: 57.09 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)