Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 105.9 kB / 16.41 MB, free: 6.496 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.00116/0.00116, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 67.91 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8809/0.8825, allocations: 151.6 MB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001979/0.8845, allocations: 0.6046 MB / 1.168 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.8853, allocations: 342.7 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.8853, allocations: 0 / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.8853, allocations: 0 / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.8854, allocations: 3.938 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.886, allocations: 117.9 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.886, allocations: 15.98 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.8861, allocations: 0 / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.8861, allocations: 4 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.8862, allocations: 11.97 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.8862, allocations: 4 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.8866, allocations: 267.7 kB / 1.169 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.8866, allocations: 11.94 kB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.8866, allocations: 0 / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.8869, allocations: 92.75 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.8869, allocations: 4 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8869, allocations: 7.938 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8869, allocations: 0 / 1.169 GB, free: 2.469 MB / 0.8887 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.000428/0.8873, allocations: 347.2 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.8874, allocations: 8.031 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.8874, allocations: 0.9375 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8876, allocations: 168.4 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.8876, allocations: 384 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.8876, allocations: 384 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8877, allocations: 42.2 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8878, allocations: 192 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8878, allocations: 3.938 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8878, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.8878, allocations: 7.984 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.888, allocations: 149.7 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.8881, allocations: 22.59 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.8881, allocations: 15.33 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.8889, allocations: 453.5 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.8889, allocations: 42.5 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.889, allocations: 4 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006507/0.8896, allocations: 254.3 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.8897, allocations: 51.41 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.8897, allocations: 97.86 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.8897, allocations: 25.7 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.8898, allocations: 80.48 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.8898, allocations: 11.91 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.8899, allocations: 21.7 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.89, allocations: 314.8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.89, allocations: 8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.89, allocations: 13.72 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.761e-05/0.8901, allocations: 29.72 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8901, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.8902, allocations: 53.64 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8902, allocations: 11.94 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8903, allocations: 3.984 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8903, allocations: 144 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.8903, allocations: 7.938 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8904, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.8904, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.8904, allocations: 3.984 kB / 1.171 GB, free: 15.88 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.8905, allocations: 117.8 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.8905, allocations: 3.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.8907, allocations: 57.17 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8907, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8907, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8907, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.8908, allocations: 149.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8908, allocations: 8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.8909, allocations: 11.94 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.8909, allocations: 3.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.8909, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8909, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8909, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.8911, allocations: 85.05 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.8911, allocations: 81.06 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.8911, allocations: 3.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.8912, allocations: 4.062 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.8912, allocations: 4.031 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.8912, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.8913, allocations: 79.27 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8913, allocations: 4 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002149/0.8915, allocations: 19.94 kB / 1.172 GB, free: 15.14 MB / 0.9044 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 (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.0002562/0.8918, allocations: 135 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.8919, allocations: 16.09 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8919, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.8919, allocations: 15.98 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.8921, allocations: 4.5 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.8923, allocations: 131.1 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.8926, allocations: 0.6729 MB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.8926, allocations: 15.42 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8926, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.00255/0.8952, allocations: 0.7678 MB / 1.173 GB, free: 13.33 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)