Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109.2 kB / 17.04 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.325, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002308/0.3273, allocations: 1.42 MB / 0.559 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.3276, allocations: 87.98 kB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.3277, allocations: 3.938 kB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.3277, allocations: 3.938 kB / 0.5591 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.3278, allocations: 5.625 kB / 0.5591 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.328, allocations: 18.52 kB / 0.5591 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.328, allocations: 26.95 kB / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.3281, allocations: 6.562 kB / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.3282, allocations: 8.734 kB / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.3282, allocations: 17.94 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3282, allocations: 3.625 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.198e-05/0.3283, allocations: 9.906 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.3283, allocations: 10.72 kB / 0.5592 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.3284, allocations: 11.83 kB / 0.5592 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3285, allocations: 32.77 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3285, allocations: 0 / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3285, allocations: 3.938 kB / 0.5592 GB, free: 35.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3285, allocations: 0.5312 kB / 0.5592 GB, free: 35.64 MB / 446.1 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.0003552/0.3289, allocations: 346.7 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3289, allocations: 10.16 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3291, allocations: 14.97 kB / 0.5596 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.3291, allocations: 169.3 kB / 0.5597 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3292, allocations: 9.469 kB / 0.5597 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3292, allocations: 2.344 kB / 0.5597 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3294, allocations: 61.97 kB / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3294, allocations: 192 / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3294, allocations: 9.672 kB / 0.5598 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3294, allocations: 0 / 0.5598 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3296, allocations: 46.34 kB / 0.5598 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.3299, allocations: 258.9 kB / 0.5601 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3301, allocations: 61.36 kB / 0.5601 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3302, allocations: 30.28 kB / 0.5602 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3302, allocations: 2.281 kB / 0.5602 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.3303, allocations: 32.56 kB / 0.5602 GB, free: 34.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3303, allocations: 0 / 0.5602 GB, free: 34.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003974/0.3307, allocations: 102 kB / 0.5603 GB, free: 34.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3307, allocations: 56.95 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.3308, allocations: 108.3 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.3308, allocations: 25.7 kB / 0.5605 GB, free: 34.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.3308, allocations: 87.52 kB / 0.5606 GB, free: 34.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3308, allocations: 5.609 kB / 0.5606 GB, free: 34.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3309, allocations: 14.31 kB / 0.5606 GB, free: 34.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.3309, allocations: 317.4 kB / 0.5609 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.331, allocations: 24.16 kB / 0.5609 GB, free: 33.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.3311, allocations: 21.83 kB / 0.5609 GB, free: 33.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3313, allocations: 52.78 kB / 0.561 GB, free: 33.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3313, allocations: 1.312 kB / 0.561 GB, free: 33.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002257/0.3316, allocations: 82.62 kB / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3316, allocations: 8.906 kB / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3316, allocations: 2.984 kB / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3316, allocations: 0 / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3317, allocations: 15.27 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3317, allocations: 2.938 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.3318, allocations: 11.88 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3318, allocations: 1.031 kB / 0.5611 GB, free: 33.91 MB / 446.1 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 (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.174e-05/0.3319, allocations: 118.9 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3319, allocations: 1.594 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.332, allocations: 6.469 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.332, allocations: 0.6562 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.332, allocations: 1.125 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.332, allocations: 0 / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3321, allocations: 174.3 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3321, allocations: 0 / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3322, allocations: 11.22 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3322, allocations: 6.406 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3322, allocations: 0.75 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3322, allocations: 0.9375 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3322, allocations: 0 / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3325, allocations: 181.1 kB / 0.5616 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.3325, allocations: 82.66 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3325, allocations: 1.984 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.3326, allocations: 9.172 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3327, allocations: 10.44 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3327, allocations: 5.344 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.3327, allocations: 82.64 kB / 0.5618 GB, free: 33.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3327, allocations: 0 / 0.5618 GB, free: 33.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00022/0.333, allocations: 5.781 kB / 0.5618 GB, free: 33.25 MB / 446.1 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 (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 7.557e-05/0.333, allocations: 97.14 kB / 0.5619 GB, free: 33.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3333, allocations: 51.2 kB / 0.5619 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3333, allocations: 1.656 kB / 0.5619 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3334, allocations: 31.52 kB / 0.562 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3337, allocations: 9.438 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.334, allocations: 125.2 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3342, allocations: 0.678 MB / 0.5627 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.3342, allocations: 2.438 kB / 0.5627 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3343, allocations: 8.938 kB / 0.5628 GB, free: 32.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3343, allocations: 0 / 0.5628 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002565/0.3369, allocations: 0.5694 MB / 0.5633 GB, free: 32.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)