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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003623/0.003623, allocations: 240.5 kB / 259.4 MB, free: 484 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.056/1.056, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6468 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.589e-05, allocations: 5.375 kB / 0.6468 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001485/0.001511, allocations: 0.6081 MB / 0.6474 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.002215, allocations: 312.1 kB / 0.6477 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.002238, allocations: 0 / 0.6477 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.002254, allocations: 0 / 0.6477 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.953e-05/0.002274, allocations: 4 kB / 0.6477 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.002737, allocations: 115 kB / 0.6479 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.00279, allocations: 19.91 kB / 0.6479 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.002834, allocations: 0 / 0.6479 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.002864, allocations: 4 kB / 0.6479 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.00291, allocations: 3.984 kB / 0.6479 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.002927, allocations: 4 kB / 0.6479 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.003312, allocations: 259.5 kB / 0.6481 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.003329, allocations: 7.984 kB / 0.6481 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.003344, allocations: 4 kB / 0.6481 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.003562, allocations: 123.7 kB / 0.6483 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003563, allocations: 0 / 0.6483 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003564, allocations: 3.938 kB / 0.6483 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003568, allocations: 0 / 0.6483 GB, free: 3.496 MB / 0.5606 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.0003554/0.003923, allocations: 270.2 kB / 0.6485 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.003959, allocations: 8.75 kB / 0.6485 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.004011, allocations: 0.9375 kB / 0.6485 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.004115, allocations: 105.8 kB / 0.6486 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004126, allocations: 384 / 0.6486 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004145, allocations: 4.375 kB / 0.6486 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.004263, allocations: 63.95 kB / 0.6487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004271, allocations: 192 / 0.6487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004282, allocations: 8.359 kB / 0.6487 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004287, allocations: 384 / 0.6487 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.004309, allocations: 3.938 kB / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.004449, allocations: 109.3 kB / 0.6488 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.004505, allocations: 22.55 kB / 0.6488 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.004523, allocations: 8.922 kB / 0.6488 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/0.005075, allocations: 75.92 kB / 0.6489 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.005113, allocations: 38.55 kB / 0.649 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005114, allocations: 0 / 0.649 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004939/0.005608, allocations: 169.5 kB / 0.6491 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.005652, allocations: 59.41 kB / 0.6492 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.005727, allocations: 93.8 kB / 0.6493 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.005743, allocations: 25.7 kB / 0.6493 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.005784, allocations: 84.14 kB / 0.6494 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.00581, allocations: 15.84 kB / 0.6494 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.005857, allocations: 21.64 kB / 0.6494 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.005998, allocations: 314.8 kB / 0.6497 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.006018, allocations: 4 kB / 0.6497 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.006049, allocations: 21.66 kB / 0.6497 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.0061, allocations: 33.86 kB / 0.6498 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006101, allocations: 0 / 0.6498 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.006203, allocations: 49.64 kB / 0.6498 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006216, allocations: 4 kB / 0.6498 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.006226, allocations: 7.984 kB / 0.6498 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.006241, allocations: 0 / 0.6498 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.006299, allocations: 4 kB / 0.6498 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.006308, allocations: 7.938 kB / 0.6498 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.006327, allocations: 8 kB / 0.6498 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006332, allocations: 0 / 0.6498 GB, free: 1.668 MB / 0.5606 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 8.588e-05/0.006418, allocations: 109.8 kB / 0.6499 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.006441, allocations: 0 / 0.6499 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.006578, allocations: 61.3 kB / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.00658, allocations: 0 / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.006584, allocations: 0 / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.006589, allocations: 7.938 kB / 0.65 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.387e-05/0.006683, allocations: 101.3 kB / 0.6501 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.006684, allocations: 4 kB / 0.6501 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.006738, allocations: 7.984 kB / 0.6501 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006742, allocations: 4 kB / 0.6501 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006748, allocations: 0 / 0.6501 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006749, allocations: 0 / 0.6501 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00675, allocations: 0 / 0.6501 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.0069, allocations: 84.95 kB / 0.6502 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.006905, allocations: 0 / 0.6502 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.006916, allocations: 240 / 0.6502 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.006956, allocations: 8.031 kB / 0.6502 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.006971, allocations: 3.984 kB / 0.6502 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.006977, allocations: 8.047 kB / 0.6502 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.007024, allocations: 83.22 kB / 0.6503 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.007024, allocations: 0 / 0.6503 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002169/0.007241, allocations: 23.94 kB / 0.6503 GB, free: 1.102 MB / 0.5606 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.0002032/0.007444, allocations: 135.1 kB / 0.6505 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.007528, allocations: 15.98 kB / 0.6505 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.00753, allocations: 0 / 0.6505 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.007551, allocations: 11.94 kB / 0.6505 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.007687, allocations: 8.219 kB / 0.6505 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.007947, allocations: 100.8 kB / 0.6506 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.787e-05/0.007994, allocations: 63.34 kB / 0.6506 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.008023, allocations: 7.938 kB / 0.6506 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.008044, allocations: 8.5 kB / 0.6507 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.008045, allocations: 0 / 0.6507 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of Templates: time 0.2355/0.2436, allocations: 0.8879 MB / 0.6515 GB, free: 56.59 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6940329521894455] Failed to read output from testmodel.py, exit status != 0: 0.25059176981449127 0.259433254 0.253776805 Calling exit ...