Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001645/0.001645, allocations: 83.44 kB / 19.02 MB, free: 2.719 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.001944/0.001944, allocations: 159.6 kB / 22.26 MB, free: 4.715 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.34/1.34, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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.002331/0.002331, allocations: 233.2 kB / 259.3 MB, free: 0.5938 MB / 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 0.992/0.992, allocations: 138.5 MB / 454.2 MB, free: 2.02 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003004, allocations: 107.8 kB / 0.6466 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3552, allocations: 95.35 MB / 0.7398 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001648/0.3569, allocations: 0.6183 MB / 0.7404 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000693/0.3576, allocations: 322.8 kB / 0.7407 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.3576, allocations: 0 / 0.7407 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3576, allocations: 0 / 0.7407 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.3576, allocations: 3.938 kB / 0.7407 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.3581, allocations: 115.7 kB / 0.7408 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.3581, allocations: 23.91 kB / 0.7408 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3582, allocations: 11.98 kB / 0.7408 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.3582, allocations: 19.92 kB / 0.7408 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.3583, allocations: 7.938 kB / 0.7409 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3583, allocations: 0 / 0.7409 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3587, allocations: 263.6 kB / 0.7411 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3587, allocations: 3.984 kB / 0.7411 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.3587, allocations: 11.94 kB / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.3589, allocations: 105.1 kB / 0.7412 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3589, allocations: 3.984 kB / 0.7412 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3589, allocations: 4 kB / 0.7412 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3589, allocations: 0 / 0.7412 GB, free: 13.65 MB / 0.5762 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.0004247/0.3593, allocations: 286 kB / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3594, allocations: 8.75 kB / 0.7415 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.3594, allocations: 8.891 kB / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.3595, allocations: 106.5 kB / 0.7416 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3595, allocations: 4.375 kB / 0.7416 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3595, allocations: 4.375 kB / 0.7416 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3597, allocations: 101.6 kB / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3597, allocations: 192 / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3597, allocations: 15.94 kB / 0.7417 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3597, allocations: 0 / 0.7417 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.3598, allocations: 19.97 kB / 0.7418 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.3599, allocations: 121.1 kB / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3601, allocations: 54.56 kB / 0.7419 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3601, allocations: 32.78 kB / 0.742 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/0.3606, allocations: 83.84 kB / 0.742 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3607, allocations: 38.56 kB / 0.7421 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3607, allocations: 0 / 0.7421 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001199/0.3619, allocations: 439.9 kB / 0.7425 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3619, allocations: 55.41 kB / 0.7425 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.362, allocations: 101.8 kB / 0.7426 GB, free: 12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.362, allocations: 33.64 kB / 0.7427 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.362, allocations: 86.7 kB / 0.7428 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.3621, allocations: 47.66 kB / 0.7428 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3621, allocations: 29.66 kB / 0.7428 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3623, allocations: 318.8 kB / 0.7431 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.3623, allocations: 20 kB / 0.7432 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.3624, allocations: 19.98 kB / 0.7432 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.3625, allocations: 67.53 kB / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3625, allocations: 0 / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.3626, allocations: 93.64 kB / 0.7433 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3626, allocations: 14.12 kB / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3627, allocations: 0 / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3627, allocations: 0 / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3628, allocations: 27.98 kB / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3628, allocations: 0 / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.3628, allocations: 0 / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3628, allocations: 4 kB / 0.7434 GB, free: 11.22 MB / 0.5762 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 7.827e-05/0.3629, allocations: 113.8 kB / 0.7435 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3629, allocations: 11.94 kB / 0.7435 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3631, allocations: 113.7 kB / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3631, allocations: 0 / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3631, allocations: 0 / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3631, allocations: 0 / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.3635, allocations: 298.1 kB / 0.7439 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3635, allocations: 0 / 0.7439 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3636, allocations: 16 kB / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3636, allocations: 0 / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3636, allocations: 4 kB / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3636, allocations: 0 / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3636, allocations: 3.984 kB / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3639, allocations: 227.3 kB / 0.7441 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.3639, allocations: 15.97 kB / 0.7441 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3639, allocations: 0 / 0.7441 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.364, allocations: 4 kB / 0.7441 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.364, allocations: 7.984 kB / 0.7441 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.364, allocations: 7.938 kB / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.3641, allocations: 79.28 kB / 0.7442 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 0.7442 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002691/0.3643, allocations: 43.92 kB / 0.7443 GB, free: 10.22 MB / 0.5762 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.0002218/0.3645, allocations: 146.4 kB / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.3647, allocations: 63.84 kB / 0.7445 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3647, allocations: 0 / 0.7445 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.3647, allocations: 27.94 kB / 0.7445 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.365, allocations: 15.92 kB / 0.7445 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.3653, allocations: 174.8 kB / 0.7447 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.3654, allocations: 75.33 kB / 0.7448 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.3654, allocations: 12 kB / 0.7448 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.3655, allocations: 12.5 kB / 0.7448 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.3655, allocations: 0 / 0.7448 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of Templates: time 0.004175/0.3696, allocations: 1.395 MB / 0.7461 GB, free: 8.305 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.530522610992193] Failed to read output from testmodel.py, exit status != 0: 0.3778641764074564 0.39174696800000003 0.029997184000000003 Calling exit ...