Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001376/0.001376, allocations: 196 kB / 17.98 MB, free: 5.141 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002145/0.3278, allocations: 1.43 MB / 0.559 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.3284, allocations: 378.5 kB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.3285, allocations: 1.406 kB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3285, allocations: 5.344 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.3286, allocations: 7.922 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.3289, allocations: 117 kB / 0.5594 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.329, allocations: 25.84 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.3291, allocations: 3.75 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.3291, allocations: 13.92 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.3292, allocations: 10.67 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3292, allocations: 2.5 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.3296, allocations: 278.6 kB / 0.5598 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3296, allocations: 6.391 kB / 0.5598 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.3296, allocations: 12.08 kB / 0.5598 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.3298, allocations: 107.5 kB / 0.5599 GB, free: 35.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3298, allocations: 5 kB / 0.5599 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3298, allocations: 0 / 0.5599 GB, free: 35.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.3298, allocations: 1.125 kB / 0.5599 GB, free: 35.22 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.0003598/0.3302, allocations: 368 kB / 0.5602 GB, free: 34.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3302, allocations: 10.08 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.3303, allocations: 3.656 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.946e-05/0.3303, allocations: 171.1 kB / 0.5604 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3304, allocations: 2.891 kB / 0.5604 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3304, allocations: 1.938 kB / 0.5604 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3305, allocations: 55.77 kB / 0.5605 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3306, allocations: 192 / 0.5605 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3306, allocations: 6.062 kB / 0.5605 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3306, allocations: 0 / 0.5605 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3307, allocations: 34.95 kB / 0.5605 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.331, allocations: 245.3 kB / 0.5608 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3311, allocations: 47 kB / 0.5608 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.3312, allocations: 25.05 kB / 0.5608 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.3318, allocations: 459.8 kB / 0.5613 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.3318, allocations: 35.62 kB / 0.5613 GB, free: 33.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3318, allocations: 0.5625 kB / 0.5613 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003342/0.3321, allocations: 83.56 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.3321, allocations: 52.47 kB / 0.5614 GB, free: 33.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.352e-05/0.3322, allocations: 104.8 kB / 0.5615 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.3322, allocations: 30.23 kB / 0.5616 GB, free: 33.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.3323, allocations: 83.3 kB / 0.5616 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.3323, allocations: 13.69 kB / 0.5616 GB, free: 33.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3323, allocations: 13.56 kB / 0.5617 GB, free: 33.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.3324, allocations: 313.3 kB / 0.562 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.3324, allocations: 19.88 kB / 0.562 GB, free: 33.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.3325, allocations: 15.17 kB / 0.562 GB, free: 33.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3327, allocations: 42.75 kB / 0.562 GB, free: 33.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3327, allocations: 2.156 kB / 0.562 GB, free: 33.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.3329, allocations: 68.97 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3329, allocations: 6.375 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3329, allocations: 0 / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3329, allocations: 2.375 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.333, allocations: 11.95 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.333, allocations: 2.031 kB / 0.5621 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.333, allocations: 12.59 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3331, allocations: 5.469 kB / 0.5621 GB, free: 33.04 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 4.308e-05/0.3331, allocations: 116.4 kB / 0.5622 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3331, allocations: 2.562 kB / 0.5622 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.3334, allocations: 73.64 kB / 0.5623 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3334, allocations: 5.984 kB / 0.5623 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3334, allocations: 0 / 0.5623 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3334, allocations: 3.062 kB / 0.5623 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3335, allocations: 169.8 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3335, allocations: 0 / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.3336, allocations: 9.094 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3336, allocations: 0.5 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3336, allocations: 4.547 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3336, allocations: 1.75 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3336, allocations: 1.344 kB / 0.5625 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3338, allocations: 165.9 kB / 0.5627 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.3338, allocations: 86.75 kB / 0.5627 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3339, allocations: 2.906 kB / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.3339, allocations: 5.25 kB / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.334, allocations: 4.5 kB / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.334, allocations: 0 / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.334, allocations: 86.98 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.334, allocations: 0 / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3342, allocations: 17.67 kB / 0.5629 GB, free: 32.34 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 0.0001267/0.3344, allocations: 110.8 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3346, allocations: 41.7 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3346, allocations: 0 / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.3347, allocations: 22.23 kB / 0.563 GB, free: 32.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.3349, allocations: 9.234 kB / 0.563 GB, free: 32.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.3352, allocations: 107.9 kB / 0.5631 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.3353, allocations: 0.6771 MB / 0.5638 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.3353, allocations: 3.781 kB / 0.5638 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.3353, allocations: 12.69 kB / 0.5638 GB, free: 31.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3353, allocations: 0 / 0.5638 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002866/0.3382, allocations: 0.715 MB / 0.5645 GB, free: 31.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)