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.001239/0.001239, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5451/0.5451, allocations: 95.57 MB / 365.9 MB, free: 10.4 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.0005509/0.0005513, allocations: 16 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2897, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005539/0.2903, allocations: 273.7 kB / 0.5053 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003631/0.2907, allocations: 237.1 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.2907, allocations: 0 / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.997e-06/0.2908, allocations: 0 / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.2908, allocations: 4 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.2911, allocations: 51.81 kB / 0.5055 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.976e-05/0.2911, allocations: 4 kB / 0.5056 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.2911, allocations: 0 / 0.5056 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.2912, allocations: 7.969 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.2912, allocations: 11.94 kB / 0.5056 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2912, allocations: 0 / 0.5056 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2914, allocations: 103.9 kB / 0.5057 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.2914, allocations: 11.98 kB / 0.5057 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.2914, allocations: 25.7 kB / 0.5057 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.992e-05/0.2915, allocations: 47.88 kB / 0.5058 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2915, allocations: 0 / 0.5058 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2915, allocations: 0 / 0.5058 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.2915, allocations: 0 / 0.5058 GB, free: 15.75 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.0002299/0.2918, allocations: 331.3 kB / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2918, allocations: 11.98 kB / 0.5061 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.2919, allocations: 0 / 0.5061 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.2919, allocations: 163.1 kB / 0.5062 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.2919, allocations: 4 kB / 0.5062 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.292, allocations: 0 / 0.5062 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/0.2921, allocations: 41.58 kB / 0.5063 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2921, allocations: 3.984 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2921, allocations: 3.938 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2921, allocations: 4 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.2921, allocations: 4 kB / 0.5063 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.2923, allocations: 151.6 kB / 0.5064 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.2923, allocations: 26.61 kB / 0.5065 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.2929, allocations: 461.5 kB / 0.5069 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2929, allocations: 30.56 kB / 0.5069 GB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2929, allocations: 0 / 0.5069 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001064/0.294, allocations: 452 kB / 0.5074 GB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.2941, allocations: 55.44 kB / 0.5074 GB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/0.2941, allocations: 101.9 kB / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2941, allocations: 25.7 kB / 0.5075 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.522e-05/0.2941, allocations: 80.14 kB / 0.5076 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2942, allocations: 15.84 kB / 0.5076 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2942, allocations: 0 / 0.5076 GB, free: 13.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.2942, allocations: 314.8 kB / 0.5079 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.2942, allocations: 4 kB / 0.5079 GB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.2943, allocations: 21.84 kB / 0.508 GB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.2943, allocations: 11.98 kB / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.2943, allocations: 0 / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.653e-05/0.2944, allocations: 53.64 kB / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2944, allocations: 14.14 kB / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2944, allocations: 0 / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2944, allocations: 0 / 0.508 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.2945, allocations: 11.98 kB / 0.508 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2945, allocations: 4.062 kB / 0.508 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.2945, allocations: 4 kB / 0.508 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2945, allocations: 4 kB / 0.5081 GB, free: 13.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.2946, allocations: 109.8 kB / 0.5082 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.2946, allocations: 7.906 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.2947, allocations: 73.12 kB / 0.5082 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2947, allocations: 4 kB / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2947, allocations: 0 / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2947, allocations: 0 / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.27e-05/0.2948, allocations: 157.7 kB / 0.5084 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2948, allocations: 0 / 0.5084 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.2949, allocations: 11.98 kB / 0.5084 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2949, allocations: 0 / 0.5084 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2949, allocations: 4 kB / 0.5084 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2949, allocations: 3.953 kB / 0.5084 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2949, allocations: 0 / 0.5084 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.295, allocations: 101.1 kB / 0.5085 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.295, allocations: 85 kB / 0.5086 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2951, allocations: 0 / 0.5086 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.2951, allocations: 3.938 kB / 0.5086 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2951, allocations: 7.984 kB / 0.5086 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2951, allocations: 11.94 kB / 0.5086 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.49e-05/0.2952, allocations: 75.28 kB / 0.5087 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2952, allocations: 4.156 kB / 0.5087 GB, free: 12.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.2954, allocations: 35.98 kB / 0.5087 GB, free: 12.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.2955, allocations: 131.2 kB / 0.5088 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.2956, allocations: 31.92 kB / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2956, allocations: 0 / 0.5089 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.2957, allocations: 12.12 kB / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.274e-05/0.2958, allocations: 0 / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.296, allocations: 133.2 kB / 0.509 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.562e-05/0.296, allocations: 0.6809 MB / 0.5097 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.2961, allocations: 7.938 kB / 0.5097 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.2961, allocations: 11.44 kB / 0.5097 GB, free: 11.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2961, allocations: 0 / 0.5097 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.002919/0.299, allocations: 1.316 MB / 0.511 GB, free: 9.863 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: