Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001524, allocations: 195.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6004/0.6004, allocations: 95.48 MB / 365.3 MB, free: 9.805 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.91 kB / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 69.09 MB / 0.5031 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002505/0.3238, allocations: 0.5402 MB / 0.5037 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.3244, allocations: 262.1 kB / 0.5039 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.3245, allocations: 0 / 0.5039 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.3245, allocations: 0 / 0.5039 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.472e-05/0.3246, allocations: 3.938 kB / 0.5039 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.3252, allocations: 75.53 kB / 0.504 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.3252, allocations: 15.98 kB / 0.504 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.3253, allocations: 4 kB / 0.504 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3253, allocations: 7.938 kB / 0.504 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.3254, allocations: 0 / 0.504 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3254, allocations: 0 / 0.504 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.3257, allocations: 123.8 kB / 0.5041 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.3257, allocations: 4 kB / 0.5041 GB, free: 16.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.3257, allocations: 3.938 kB / 0.5041 GB, free: 16.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3259, allocations: 67.89 kB / 0.5042 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.326, allocations: 3.938 kB / 0.5042 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.326, allocations: 4 kB / 0.5042 GB, free: 16.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.326, allocations: 0 / 0.5042 GB, free: 16.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003299/0.3263, allocations: 343 kB / 0.5045 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3264, allocations: 11.98 kB / 0.5046 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3264, allocations: 0.9375 kB / 0.5046 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.3265, allocations: 164.4 kB / 0.5047 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3266, allocations: 4.375 kB / 0.5047 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3266, allocations: 3.938 kB / 0.5047 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.3267, allocations: 37.69 kB / 0.5048 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3267, allocations: 3.938 kB / 0.5048 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3267, allocations: 0 / 0.5048 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3267, allocations: 0 / 0.5048 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.3268, allocations: 4 kB / 0.5048 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.3269, allocations: 153.7 kB / 0.5049 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.327, allocations: 30.48 kB / 0.5049 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.327, allocations: 8.922 kB / 0.5049 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/0.3279, allocations: 449.5 kB / 0.5054 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.3279, allocations: 38.56 kB / 0.5054 GB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.3279, allocations: 0 / 0.5054 GB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001593/0.3295, allocations: 442 kB / 0.5058 GB, free: 14.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3296, allocations: 55.39 kB / 0.5059 GB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.3296, allocations: 97.86 kB / 0.506 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3297, allocations: 29.92 kB / 0.506 GB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.3297, allocations: 84.08 kB / 0.5061 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3297, allocations: 7.703 kB / 0.5061 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3298, allocations: 21.7 kB / 0.5061 GB, free: 13.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.3298, allocations: 314.8 kB / 0.5064 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.3299, allocations: 8 kB / 0.5064 GB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.3299, allocations: 13.72 kB / 0.5064 GB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.33, allocations: 33.7 kB / 0.5065 GB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.33, allocations: 3.938 kB / 0.5065 GB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.3301, allocations: 65.47 kB / 0.5065 GB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3302, allocations: 10.19 kB / 0.5065 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3302, allocations: 0 / 0.5065 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3302, allocations: 0 / 0.5065 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.3303, allocations: 8 kB / 0.5066 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3303, allocations: 0 / 0.5066 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.3303, allocations: 8.062 kB / 0.5066 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3304, allocations: 4 kB / 0.5066 GB, free: 13.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.33e-05/0.3304, allocations: 109.8 kB / 0.5067 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3305, allocations: 7.938 kB / 0.5067 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.3307, allocations: 69.17 kB / 0.5067 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3307, allocations: 0 / 0.5067 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3307, allocations: 8 kB / 0.5068 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3307, allocations: 0 / 0.5068 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.3308, allocations: 165.5 kB / 0.5069 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3308, allocations: 0 / 0.5069 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.3309, allocations: 8 kB / 0.5069 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3309, allocations: 0 / 0.5069 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.331, allocations: 4 kB / 0.5069 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.331, allocations: 0 / 0.5069 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.331, allocations: 0 / 0.5069 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.3312, allocations: 109.1 kB / 0.507 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.3312, allocations: 85 kB / 0.5071 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3312, allocations: 4.031 kB / 0.5071 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.3313, allocations: 0 / 0.5071 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.3313, allocations: 0 / 0.5071 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.3313, allocations: 8 kB / 0.5071 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.93e-05/0.3313, allocations: 79.27 kB / 0.5072 GB, free: 12.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3314, allocations: 0 / 0.5072 GB, free: 12.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.3318, allocations: 36.16 kB / 0.5072 GB, free: 12.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (5): * Single equations (assignments): 5 * 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.0002511/0.332, allocations: 143.2 kB / 0.5074 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3321, allocations: 23.94 kB / 0.5074 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3322, allocations: 0 / 0.5074 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.3322, allocations: 11.98 kB / 0.5074 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3324, allocations: 15.88 kB / 0.5074 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.3327, allocations: 122 kB / 0.5075 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.3329, allocations: 0.6808 MB / 0.5082 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.3329, allocations: 8 kB / 0.5082 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.333, allocations: 15.38 kB / 0.5082 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.333, allocations: 0 / 0.5082 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004866/0.3378, allocations: 1.354 MB / 0.5095 GB, free: 10.22 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)