Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001619/0.001619, allocations: 231.9 kB / 261.3 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7099/0.7099, allocations: 138.4 MB / 456.3 MB, free: 1.426 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5564 GB, free: 184 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.952e-05, allocations: 6.312 kB / 0.5564 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001112/0.001141, allocations: 0.6079 MB / 0.557 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002203/0.001361, allocations: 83.8 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.001382, allocations: 4 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.001399, allocations: 3.938 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.001442, allocations: 4 kB / 0.5571 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.001621, allocations: 15.92 kB / 0.5571 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.001667, allocations: 7.984 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.001707, allocations: 0 / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.001736, allocations: 4 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.001804, allocations: 11.81 kB / 0.5572 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.001817, allocations: 0 / 0.5572 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.00188, allocations: 15.98 kB / 0.5572 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.001894, allocations: 0 / 0.5572 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.001906, allocations: 7.922 kB / 0.5572 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.337e-05/0.001979, allocations: 19.98 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.001981, allocations: 0 / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.001982, allocations: 0 / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.001985, allocations: 0 / 0.5572 GB, free: 15.39 MB / 490.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.0002685/0.002253, allocations: 348.3 kB / 0.5575 GB, free: 15.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.002288, allocations: 8.75 kB / 0.5575 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.002416, allocations: 8.922 kB / 0.5575 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.002483, allocations: 112.6 kB / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.002498, allocations: 384 / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.002503, allocations: 384 / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.002593, allocations: 50.95 kB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002601, allocations: 192 / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-06/0.002606, allocations: 384 / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.002611, allocations: 4.375 kB / 0.5577 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.002633, allocations: 11.88 kB / 0.5577 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.483e-05/0.002728, allocations: 105.5 kB / 0.5578 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.002805, allocations: 39.05 kB / 0.5579 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.002825, allocations: 15.78 kB / 0.5579 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.002835, allocations: 0 / 0.5579 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.002855, allocations: 37.39 kB / 0.5579 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 5.01e-07/0.002856, allocations: 4 kB / 0.5579 GB, free: 14.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000102/0.002958, allocations: 45.62 kB / 0.558 GB, free: 14.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.002985, allocations: 51.41 kB / 0.558 GB, free: 14.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.575e-05/0.003021, allocations: 142.2 kB / 0.5581 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.00303, allocations: 29.7 kB / 0.5582 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.003057, allocations: 126.9 kB / 0.5583 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.003085, allocations: 11.89 kB / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.003109, allocations: 23.36 kB / 0.5583 GB, free: 14.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.003229, allocations: 0.4883 MB / 0.5588 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.00324, allocations: 4 kB / 0.5588 GB, free: 13.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.003247, allocations: 4 kB / 0.5588 GB, free: 13.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.003277, allocations: 15.69 kB / 0.5588 GB, free: 13.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003279, allocations: 0 / 0.5588 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.864e-05/0.003328, allocations: 45.62 kB / 0.5589 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.003338, allocations: 8 kB / 0.5589 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003341, allocations: 0 / 0.5589 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.00335, allocations: 0 / 0.5589 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.003485, allocations: 23.97 kB / 0.5589 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007732/0.004258, allocations: 1.791 MB / 0.5606 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.004271, allocations: 4 kB / 0.5606 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.004275, allocations: 0 / 0.5606 GB, free: 11.55 MB / 490.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 () * 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 6.689e-05/0.004341, allocations: 156.6 kB / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-06/0.004347, allocations: 0 / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-06/0.004355, allocations: 7.656 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.004359, allocations: 11.92 kB / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-07/0.004359, allocations: 0 / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004362, allocations: 0 / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.929e-05/0.004421, allocations: 97.22 kB / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004422, allocations: 4 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.00453, allocations: 27.97 kB / 0.5609 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.004532, allocations: 0 / 0.5609 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.004536, allocations: 7.938 kB / 0.5609 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006571/0.005193, allocations: 1.79 MB / 0.5627 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005193, allocations: 0 / 0.5627 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.553e-05/0.005249, allocations: 80.33 kB / 0.5628 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-06/0.005251, allocations: 0 / 0.5628 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-06/0.005255, allocations: 8.062 kB / 0.5628 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.005266, allocations: 8 kB / 0.5628 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.005281, allocations: 8.016 kB / 0.5628 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005284, allocations: 0 / 0.5628 GB, free: 9.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.005313, allocations: 119.2 kB / 0.5629 GB, free: 9.059 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005313, allocations: 0 / 0.5629 GB, free: 9.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001228/0.005436, allocations: 4 kB / 0.5629 GB, free: 9.055 MB / 490.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 () * 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 6.865e-05/0.005505, allocations: 95.25 kB / 0.563 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.005656, allocations: 47.59 kB / 0.563 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005658, allocations: 0 / 0.563 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.005747, allocations: 35.94 kB / 0.5631 GB, free: 8.863 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.741e-05/0.005834, allocations: 4 kB / 0.5631 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.005997, allocations: 104.6 kB / 0.5632 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.307e-05/0.00602, allocations: 51.36 kB / 0.5632 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.006038, allocations: 4 kB / 0.5632 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.006073, allocations: 74.19 kB / 0.5633 GB, free: 8.582 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006073, allocations: 0 / 0.5633 GB, free: 8.582 MB / 490.7 MB Notification: Performance of Templates: time 0.001794/0.007867, allocations: 0.5267 MB / 0.5638 GB, free: 8.07 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5504503990523517]