Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_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.001419/0.001419, allocations: 105 kB / 15.98 MB, free: 6.355 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.001296/0.001296, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.665 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 65.66 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 140.4 MB / 0.9498 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002153/0.2727, allocations: 0.6823 MB / 0.9504 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.2735, allocations: 352.9 kB / 0.9508 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.2735, allocations: 0 / 0.9508 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2736, allocations: 0 / 0.9508 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.2736, allocations: 3.938 kB / 0.9508 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.2742, allocations: 103.8 kB / 0.9509 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.2743, allocations: 23.98 kB / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2743, allocations: 4 kB / 0.9509 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.2744, allocations: 11.94 kB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.2744, allocations: 15.91 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2744, allocations: 0 / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.2748, allocations: 275.6 kB / 0.9512 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2749, allocations: 11.94 kB / 0.9512 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.2749, allocations: 7.938 kB / 0.9512 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.275, allocations: 67.88 kB / 0.9513 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2751, allocations: 0 / 0.9513 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2751, allocations: 0 / 0.9513 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2751, allocations: 7.984 kB / 0.9513 GB, free: 7.746 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004678/0.2756, allocations: 363.6 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2756, allocations: 8.031 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.2757, allocations: 8.844 kB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2758, allocations: 172.3 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2758, allocations: 4.375 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.2758, allocations: 8.375 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.276, allocations: 42.25 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.276, allocations: 4.188 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.276, allocations: 7.938 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.276, allocations: 0 / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.2761, allocations: 19.98 kB / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.2763, allocations: 169.6 kB / 0.9521 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.2764, allocations: 54.56 kB / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.2765, allocations: 32.83 kB / 0.9521 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007627/0.2772, allocations: 457.5 kB / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2773, allocations: 30.56 kB / 0.9526 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2773, allocations: 0 / 0.9526 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001363/0.2786, allocations: 0.5994 MB / 0.9532 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2787, allocations: 55.41 kB / 0.9532 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.2788, allocations: 101.8 kB / 0.9533 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2788, allocations: 29.7 kB / 0.9534 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.2789, allocations: 84.14 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.2789, allocations: 43.44 kB / 0.9535 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.279, allocations: 21.72 kB / 0.9535 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2791, allocations: 322.8 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.2791, allocations: 19.98 kB / 0.9538 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.2792, allocations: 24 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.2793, allocations: 60.72 kB / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2793, allocations: 0 / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.2794, allocations: 101.5 kB / 0.954 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2795, allocations: 10.03 kB / 0.954 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2795, allocations: 0 / 0.954 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2795, allocations: 3.938 kB / 0.954 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2796, allocations: 19.98 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2796, allocations: 7.984 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.2797, allocations: 4 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2797, allocations: 4 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 8.691e-05/0.2798, allocations: 109.8 kB / 0.9542 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2798, allocations: 11.94 kB / 0.9542 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.28, allocations: 117.7 kB / 0.9543 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.28, allocations: 3.984 kB / 0.9543 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.28, allocations: 0 / 0.9543 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.28, allocations: 0 / 0.9543 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.2804, allocations: 350.5 kB / 0.9546 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2805, allocations: 3.938 kB / 0.9546 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2806, allocations: 19.98 kB / 0.9547 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2806, allocations: 4 kB / 0.9547 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2806, allocations: 8 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2806, allocations: 0 / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2806, allocations: 0 / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.2809, allocations: 219.4 kB / 0.9549 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.281, allocations: 92.97 kB / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.281, allocations: 0 / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.2811, allocations: 4 kB / 0.955 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2811, allocations: 12 kB / 0.955 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2811, allocations: 7.984 kB / 0.955 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.2812, allocations: 83.28 kB / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2812, allocations: 0 / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002746/0.2814, allocations: 40 kB / 0.9551 GB, free: 3.324 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000248/0.2817, allocations: 139.2 kB / 0.9552 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.2819, allocations: 71.86 kB / 0.9553 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2819, allocations: 0 / 0.9553 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.2819, allocations: 35.92 kB / 0.9553 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2821, allocations: 8 kB / 0.9554 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.2825, allocations: 224.6 kB / 0.9556 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2828, allocations: 0.6883 MB / 0.9562 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.2828, allocations: 11.44 kB / 0.9562 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.2828, allocations: 0 / 0.9562 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.003307/0.2861, allocations: 1.216 MB / 0.9574 GB, free: 0.8789 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)