Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7403/0.7403, allocations: 140.1 MB / 156 MB, free: 8.395 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 172.6 kB / 188.5 MB, free: 9.02 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 426.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007156/0.0007155, allocations: 90.36 kB / 0.4945 GB, free: 7.98 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001555/0.001555, allocations: 268.2 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 20 kB / 0.662 GB, free: 6.707 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3457, allocations: 79.29 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4737, allocations: 107.2 MB / 0.8441 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4739, allocations: 83.95 kB / 0.8442 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.4867, allocations: 4.566 MB / 0.8487 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4867, allocations: 4 kB / 0.8487 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4867, allocations: 0 / 0.8487 GB, free: 14.32 MB / 0.5261 GB 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.000307/0.4871, allocations: 351.4 kB / 0.849 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4871, allocations: 8.031 kB / 0.849 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.4872, allocations: 4.938 kB / 0.849 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.4873, allocations: 164.4 kB / 0.8492 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4873, allocations: 8.375 kB / 0.8492 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4873, allocations: 4.281 kB / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.172e-05/0.4874, allocations: 30.27 kB / 0.8492 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4874, allocations: 4.172 kB / 0.8492 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4875, allocations: 3.938 kB / 0.8492 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4875, allocations: 0 / 0.8492 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.4875, allocations: 11.92 kB / 0.8493 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4877, allocations: 153.7 kB / 0.8494 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.4877, allocations: 26.59 kB / 0.8494 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.4878, allocations: 4.859 kB / 0.8494 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.4883, allocations: 465.5 kB / 0.8499 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4884, allocations: 30.56 kB / 0.8499 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.4884, allocations: 0 / 0.8499 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005095/0.4889, allocations: 254.6 kB / 0.8501 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.489, allocations: 55.41 kB / 0.8502 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.489, allocations: 89.86 kB / 0.8503 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.4891, allocations: 29.7 kB / 0.8503 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.4891, allocations: 88.08 kB / 0.8504 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4891, allocations: 11.8 kB / 0.8504 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.4891, allocations: 0 / 0.8504 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4893, allocations: 310.8 kB / 0.8507 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.4893, allocations: 12.12 kB / 0.8507 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.4893, allocations: 13.72 kB / 0.8507 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.4894, allocations: 29.7 kB / 0.8508 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.4894, allocations: 0 / 0.8508 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.4895, allocations: 53.64 kB / 0.8508 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4895, allocations: 7.938 kB / 0.8508 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4895, allocations: 8.047 kB / 0.8508 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4895, allocations: 0 / 0.8508 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.4896, allocations: 8 kB / 0.8508 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4896, allocations: 0 / 0.8508 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.4896, allocations: 0 / 0.8508 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.4897, allocations: 7.984 kB / 0.8508 GB, free: 11.75 MB / 0.5261 GB 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 6.791e-05/0.4897, allocations: 105.8 kB / 0.8509 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.4898, allocations: 11.88 kB / 0.8509 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.4899, allocations: 65.11 kB / 0.851 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4899, allocations: 0 / 0.851 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4899, allocations: 0 / 0.851 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4899, allocations: 0 / 0.851 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.49, allocations: 153.7 kB / 0.8512 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4901, allocations: 0 / 0.8512 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.4901, allocations: 8 kB / 0.8512 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4901, allocations: 3.938 kB / 0.8512 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4901, allocations: 4 kB / 0.8512 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4902, allocations: 0 / 0.8512 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4902, allocations: 7.938 kB / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.4903, allocations: 85.19 kB / 0.8513 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.4904, allocations: 77.11 kB / 0.8513 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4904, allocations: 3.938 kB / 0.8513 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.4904, allocations: 8.016 kB / 0.8513 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.4905, allocations: 0 / 0.8513 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4905, allocations: 0 / 0.8513 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.4905, allocations: 87.33 kB / 0.8514 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4905, allocations: 0 / 0.8514 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002229/0.4908, allocations: 35.94 kB / 0.8515 GB, free: 11 MB / 0.5261 GB 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 (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.0002147/0.491, allocations: 143.1 kB / 0.8516 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.798e-05/0.4911, allocations: 19.92 kB / 0.8516 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4911, allocations: 4 kB / 0.8516 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.4911, allocations: 4 kB / 0.8516 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.4912, allocations: 224 / 0.8516 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.4915, allocations: 112.7 kB / 0.8517 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4917, allocations: 0.6731 MB / 0.8524 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.4918, allocations: 7.984 kB / 0.8524 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.4918, allocations: 15.38 kB / 0.8524 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.4918, allocations: 0 / 0.8524 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of Templates: time 0.002735/0.4945, allocations: 0.8239 MB / 0.8532 GB, free: 9.152 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)