Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.525/0.525, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001279/0.001279, allocations: 174.4 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.587/1.587, allocations: 170.5 MB / 324.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001713/0.001713, allocations: 114 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.823e-05/4.836e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 61.5 MB / 0.5054 GB, free: 49.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.5786, allocations: 93.61 MB / 0.5968 GB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.579, allocations: 77.73 kB / 0.5969 GB, free: 1.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.5909, allocations: 4.028 MB / 0.6008 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5909, allocations: 0 / 0.6008 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5909, allocations: 0 / 0.6008 GB, free: 13.94 MB / 426.7 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.0002852/0.5912, allocations: 349 kB / 0.6011 GB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5913, allocations: 8.625 kB / 0.6012 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.5914, allocations: 0.9375 kB / 0.6012 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5915, allocations: 159.8 kB / 0.6013 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5915, allocations: 4.5 kB / 0.6013 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.5915, allocations: 5.047 kB / 0.6013 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.179e-05/0.5916, allocations: 38.19 kB / 0.6014 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5916, allocations: 0.625 kB / 0.6014 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.5916, allocations: 0 / 0.6014 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5917, allocations: 1.219 kB / 0.6014 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.5917, allocations: 7.984 kB / 0.6014 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.5919, allocations: 150.7 kB / 0.6015 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.5919, allocations: 20.36 kB / 0.6015 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.5919, allocations: 13.67 kB / 0.6015 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.5926, allocations: 460.3 kB / 0.602 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5926, allocations: 39.23 kB / 0.602 GB, free: 12.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5926, allocations: 0 / 0.602 GB, free: 12.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004774/0.5931, allocations: 248.2 kB / 0.6023 GB, free: 12.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5931, allocations: 57.47 kB / 0.6023 GB, free: 12.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.5932, allocations: 85 kB / 0.6024 GB, free: 12.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5932, allocations: 29.7 kB / 0.6024 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.5933, allocations: 84.08 kB / 0.6025 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5933, allocations: 11.84 kB / 0.6025 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5933, allocations: 0 / 0.6025 GB, free: 11.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5934, allocations: 318.8 kB / 0.6028 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.5934, allocations: 7.938 kB / 0.6028 GB, free: 11.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.5935, allocations: 14.42 kB / 0.6028 GB, free: 11.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.5935, allocations: 15.53 kB / 0.6029 GB, free: 11.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5935, allocations: 2.344 kB / 0.6029 GB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.916e-05/0.5936, allocations: 57.53 kB / 0.6029 GB, free: 11.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5936, allocations: 5.719 kB / 0.6029 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5936, allocations: 0 / 0.6029 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5937, allocations: 3.953 kB / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.5937, allocations: 8 kB / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5937, allocations: 0 / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.5938, allocations: 2.688 kB / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.5938, allocations: 6.438 kB / 0.6029 GB, free: 11.45 MB / 426.7 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 () * 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 5.884e-05/0.5938, allocations: 101 kB / 0.603 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.5939, allocations: 7.922 kB / 0.603 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.594, allocations: 56.72 kB / 0.6031 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.594, allocations: 4.594 kB / 0.6031 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.594, allocations: 4.547 kB / 0.6031 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.594, allocations: 0 / 0.6031 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5941, allocations: 151.5 kB / 0.6032 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5941, allocations: 0 / 0.6032 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.5942, allocations: 4 kB / 0.6032 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5942, allocations: 0 / 0.6032 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5942, allocations: 0 / 0.6032 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5942, allocations: 6.281 kB / 0.6033 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5942, allocations: 4 kB / 0.6033 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.5944, allocations: 88.52 kB / 0.6033 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.5944, allocations: 77.11 kB / 0.6034 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5945, allocations: 0 / 0.6034 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.5945, allocations: 4.031 kB / 0.6034 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.5945, allocations: 4 kB / 0.6034 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5945, allocations: 0 / 0.6034 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.5946, allocations: 87.3 kB / 0.6035 GB, free: 10.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5946, allocations: 0 / 0.6035 GB, free: 10.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.5948, allocations: 35.92 kB / 0.6035 GB, free: 10.74 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002005/0.595, allocations: 139.1 kB / 0.6037 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.5951, allocations: 15.94 kB / 0.6037 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5951, allocations: 0 / 0.6037 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.5951, allocations: 8 kB / 0.6037 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.5952, allocations: 11.59 kB / 0.6037 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.5954, allocations: 71.56 kB / 0.6038 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.5957, allocations: 0.6809 MB / 0.6044 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.392e-05/0.5957, allocations: 1.688 kB / 0.6044 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.5957, allocations: 15.44 kB / 0.6045 GB, free: 9.766 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5957, allocations: 0 / 0.6045 GB, free: 9.766 MB / 426.7 MB Notification: Performance of Templates: time 0.002615/0.5984, allocations: 0.7898 MB / 0.6052 GB, free: 9.012 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)