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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6342, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001654/0.6359, allocations: 0.6783 MB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006093/0.6366, allocations: 380.2 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.6366, allocations: 4 kB / 0.9506 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.6366, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.6367, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.637, allocations: 81.45 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.6371, allocations: 22.92 kB / 0.9507 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.6371, allocations: 2.75 kB / 0.9507 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.6371, allocations: 16.05 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.6372, allocations: 12.11 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.6372, allocations: 9.312 kB / 0.9508 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.6375, allocations: 267.3 kB / 0.951 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.6375, allocations: 9.359 kB / 0.951 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.6376, allocations: 16.05 kB / 0.951 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.6377, allocations: 61.89 kB / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6377, allocations: 0 / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6377, allocations: 0 / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6377, allocations: 1.375 kB / 0.9511 GB, free: 8.078 MB / 0.7169 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.0003495/0.6381, allocations: 359.1 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6381, allocations: 17.5 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.6382, allocations: 3.781 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.574e-05/0.6383, allocations: 174 kB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.6383, allocations: 1.688 kB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.6383, allocations: 7.375 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6384, allocations: 49.09 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6384, allocations: 192 / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6384, allocations: 13.06 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6384, allocations: 1.5 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.6385, allocations: 13.61 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.6386, allocations: 170.9 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.6388, allocations: 62.64 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.6388, allocations: 30.8 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.6394, allocations: 460.7 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.6394, allocations: 35.81 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6394, allocations: 0 / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001114/0.6406, allocations: 0.6017 MB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.6406, allocations: 53.69 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.6406, allocations: 101.8 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.6406, allocations: 25.7 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.6407, allocations: 81.45 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.6407, allocations: 44.14 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.6407, allocations: 25.81 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.6408, allocations: 320.1 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.6408, allocations: 20.28 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.6409, allocations: 21.95 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.641, allocations: 60.41 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.641, allocations: 0 / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001407/0.6411, allocations: 95.09 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6411, allocations: 7.344 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6411, allocations: 0 / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6412, allocations: 1.406 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.6413, allocations: 29.14 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6413, allocations: 1.469 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.6413, allocations: 0 / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.6413, allocations: 3.031 kB / 0.9539 GB, free: 5.262 MB / 0.7169 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 5.011e-05/0.6414, allocations: 116.9 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.6414, allocations: 10.5 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6416, allocations: 107.6 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6416, allocations: 6.297 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6416, allocations: 4 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6416, allocations: 0 / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6419, allocations: 357.3 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6419, allocations: 96 / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.642, allocations: 29.98 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.642, allocations: 0.9688 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.6421, allocations: 1.188 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6421, allocations: 0 / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6421, allocations: 1.188 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.6423, allocations: 222.8 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.6423, allocations: 84.66 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.6424, allocations: 5.75 kB / 0.9548 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.6424, allocations: 5.203 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.6425, allocations: 3.625 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6425, allocations: 11.81 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.855e-05/0.6425, allocations: 80.39 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6425, allocations: 1.25 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002788/0.6428, allocations: 44.94 kB / 0.9549 GB, free: 4.297 MB / 0.7169 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.0002038/0.643, allocations: 138.9 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.6432, allocations: 71.62 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6432, allocations: 1.469 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.6432, allocations: 33.45 kB / 0.9552 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.6434, allocations: 8.781 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.6437, allocations: 220.4 kB / 0.9554 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.6439, allocations: 0.6886 MB / 0.956 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.6439, allocations: 14.16 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6439, allocations: 0 / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.002563/0.6465, allocations: 1.205 MB / 0.9572 GB, free: 2.621 MB / 0.7169 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)