Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5408/0.5408, allocations: 94.7 MB / 107.3 MB, free: 5.172 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001474/0.001475, allocations: 171.8 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.538/1.538, allocations: 170.5 MB / 324.5 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001751/0.001751, allocations: 112 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.684e-05, allocations: 8 kB / 456 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5044, allocations: 61.51 MB / 0.5054 GB, free: 49.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.6343, allocations: 93.04 MB / 0.5963 GB, free: 2.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.6346, allocations: 77.92 kB / 0.5963 GB, free: 2.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002372/0.637, allocations: 0.9327 MB / 0.5972 GB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.637, allocations: 1 kB / 0.5972 GB, free: 1.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.637, allocations: 0 / 0.5972 GB, free: 1.559 MB / 410.7 MB 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.0002644/0.6373, allocations: 322.6 kB / 0.5975 GB, free: 1.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6373, allocations: 8.656 kB / 0.5976 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.6375, allocations: 8.609 kB / 0.5976 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.6376, allocations: 160 kB / 0.5977 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6376, allocations: 0 / 0.5977 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.6376, allocations: 4 kB / 0.5977 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.713e-05/0.6378, allocations: 40.08 kB / 0.5978 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.6378, allocations: 7.172 kB / 0.5978 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.6378, allocations: 0 / 0.5978 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6378, allocations: 3.938 kB / 0.5978 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.079e-05/0.6379, allocations: 8 kB / 0.5978 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.638, allocations: 157.6 kB / 0.5979 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6381, allocations: 39.73 kB / 0.598 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.6382, allocations: 12.92 kB / 0.598 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.6382, allocations: 0 / 0.598 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6382, allocations: 36.81 kB / 0.598 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6382, allocations: 0.9688 kB / 0.598 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001325/0.6384, allocations: 49.67 kB / 0.5981 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.6384, allocations: 52.09 kB / 0.5981 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.6385, allocations: 85.84 kB / 0.5982 GB, free: 424 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6385, allocations: 28.61 kB / 0.5982 GB, free: 392 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.6385, allocations: 84.14 kB / 0.5983 GB, free: 304 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6386, allocations: 8.438 kB / 0.5983 GB, free: 296 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.6386, allocations: 0 / 0.5983 GB, free: 296 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6387, allocations: 314.8 kB / 0.5986 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.6387, allocations: 4 kB / 0.5986 GB, free: 15.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.6387, allocations: 5.406 kB / 0.5986 GB, free: 15.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.6388, allocations: 8.609 kB / 0.5986 GB, free: 15.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6388, allocations: 1.219 kB / 0.5986 GB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.488e-05/0.6389, allocations: 46.61 kB / 0.5987 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6389, allocations: 8 kB / 0.5987 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.6389, allocations: 0 / 0.5987 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6389, allocations: 0.9688 kB / 0.5987 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.6393, allocations: 45.81 kB / 0.5987 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.6404, allocations: 1.292 MB / 0.6 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.6404, allocations: 7.906 kB / 0.6 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.6404, allocations: 0 / 0.6 GB, free: 14.44 MB / 426.7 MB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.6405, allocations: 112.7 kB / 0.6001 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.6405, allocations: 0.5 kB / 0.6001 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.6405, allocations: 3.5 kB / 0.6001 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6405, allocations: 2.562 kB / 0.6001 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6405, allocations: 8.688 kB / 0.6001 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6405, allocations: 0 / 0.6001 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.6406, allocations: 151.8 kB / 0.6003 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6407, allocations: 0 / 0.6003 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.641, allocations: 55.64 kB / 0.6003 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.641, allocations: 0 / 0.6003 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.641, allocations: 0 / 0.6003 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000877/0.6419, allocations: 1.29 MB / 0.6016 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6419, allocations: 10.7 kB / 0.6016 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.642, allocations: 67.78 kB / 0.6016 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.6421, allocations: 82.67 kB / 0.6017 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.6421, allocations: 1.625 kB / 0.6017 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.677e-05/0.6421, allocations: 0 / 0.6017 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6421, allocations: 7.984 kB / 0.6017 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.6422, allocations: 8.266 kB / 0.6017 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.6422, allocations: 75.28 kB / 0.6018 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6422, allocations: 0 / 0.6018 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.6424, allocations: 4 kB / 0.6018 GB, free: 12.36 MB / 426.7 MB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.6425, allocations: 100.2 kB / 0.6019 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.6429, allocations: 51.94 kB / 0.602 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6429, allocations: 0 / 0.602 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.6431, allocations: 27.97 kB / 0.602 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.41e-05/0.6432, allocations: 4 kB / 0.602 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.6433, allocations: 56.77 kB / 0.602 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.6436, allocations: 0.677 MB / 0.6027 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.6436, allocations: 4 kB / 0.6027 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.6437, allocations: 19.38 kB / 0.6027 GB, free: 11.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.244e-06/0.6437, allocations: 0 / 0.6027 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002151/0.6458, allocations: 381.1 kB / 0.6031 GB, free: 11.04 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)