Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.054/2.054, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 203.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.00088, allocations: 99.77 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 49.64 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2156, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001607/0.2173, allocations: 0.6449 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.2176, allocations: 99.77 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-06/0.2176, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2176, allocations: 3.938 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.844e-05/0.2177, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.2178, allocations: 12 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.68e-05/0.2179, allocations: 7.984 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.2179, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.2179, allocations: 7.938 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.218, allocations: 7.984 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.218, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.2181, allocations: 15.98 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.2181, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.2181, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.812e-05/0.2182, allocations: 27.91 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2182, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2182, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.2182, allocations: 4 kB / 1.219 GB, free: 116.4 MB / 0.823 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.0002517/0.2185, allocations: 308.8 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2185, allocations: 15.98 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.2187, allocations: 8.922 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.358e-05/0.2187, allocations: 164.4 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2187, allocations: 384 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2188, allocations: 16.25 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2189, allocations: 38.25 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2189, allocations: 4.188 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2189, allocations: 3.938 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2189, allocations: 0 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.219, allocations: 15.98 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.2191, allocations: 153.7 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2192, allocations: 42.55 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.2193, allocations: 12.91 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2193, allocations: 7.984 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.2193, allocations: 34.56 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2193, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001801/0.2195, allocations: 57.61 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.2195, allocations: 51.41 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.487e-05/0.2196, allocations: 93.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.2196, allocations: 25.7 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-06/0.2196, allocations: 84.08 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.2196, allocations: 17.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.2197, allocations: 9.719 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.2197, allocations: 318.8 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2197, allocations: 7.938 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.2198, allocations: 7.984 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.2199, allocations: 29.12 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2199, allocations: 3.984 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.309e-05/0.22, allocations: 45.69 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.22, allocations: 4 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.22, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.22, allocations: 3.938 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2204, allocations: 43.94 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.2212, allocations: 1.31 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.2213, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.2213, allocations: 4.031 kB / 1.222 GB, free: 113.1 MB / 0.823 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.2213, allocations: 114.6 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.2213, allocations: 3.938 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.2214, allocations: 3.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2214, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.2214, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2214, allocations: 3.938 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.2214, allocations: 157.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2214, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.2218, allocations: 51.92 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2218, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2218, allocations: 3.938 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007158/0.2225, allocations: 1.298 MB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2225, allocations: 12.08 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2228, allocations: 0.6279 MB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2228, allocations: 81.05 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-06/0.2228, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.2228, allocations: 7.938 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.2229, allocations: 7.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.2229, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.319e-05/0.2229, allocations: 75.28 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2229, allocations: 3.938 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002725/0.2232, allocations: 8 kB / 1.224 GB, free: 110.4 MB / 0.823 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.2233, allocations: 101.7 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.2237, allocations: 59.91 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2237, allocations: 0 / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2239, allocations: 43.89 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.2241, allocations: 2.672 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.2243, allocations: 201.7 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.2244, allocations: 0.677 MB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.2245, allocations: 4 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.2245, allocations: 7.438 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.91e-07/0.2245, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of Templates: time 0.001763/0.2263, allocations: 405.6 kB / 1.226 GB, free: 108.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)