Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0008684/0.0008684, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.001026/0.001026, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.9056/0.9056, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5399/0.5399, allocations: 114 MB / 374.7 MB, free: 8.734 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5555 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.515e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001081/0.001106, allocations: 0.5899 MB / 0.5561 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004399/0.001546, allocations: 282.9 kB / 0.5563 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.001561, allocations: 0 / 0.5563 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.001575, allocations: 0 / 0.5563 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.001581, allocations: 0 / 0.5563 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.001953, allocations: 115.5 kB / 0.5564 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.001997, allocations: 7.969 kB / 0.5564 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.002034, allocations: 4 kB / 0.5564 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.002057, allocations: 4 kB / 0.5564 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.002076, allocations: 0 / 0.5564 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.002087, allocations: 0 / 0.5564 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.002593, allocations: 255.6 kB / 0.5567 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.002605, allocations: 0 / 0.5567 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.002618, allocations: 0 / 0.5567 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.002781, allocations: 119.7 kB / 0.5568 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.002784, allocations: 0 / 0.5568 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.223e-06/0.002785, allocations: 0 / 0.5568 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.002789, allocations: 0 / 0.5568 GB, free: 0.8828 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002256/0.003015, allocations: 262.2 kB / 0.5571 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003048, allocations: 8.625 kB / 0.5571 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.003093, allocations: 0.9375 kB / 0.5571 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.179e-05/0.003145, allocations: 109.7 kB / 0.5572 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003155, allocations: 8.375 kB / 0.5572 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.003162, allocations: 384 / 0.5572 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.003235, allocations: 26.27 kB / 0.5572 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003241, allocations: 4.188 kB / 0.5572 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.003249, allocations: 384 / 0.5572 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003253, allocations: 4.312 kB / 0.5572 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.00327, allocations: 7.938 kB / 0.5572 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.189e-05/0.003352, allocations: 93.33 kB / 0.5573 GB, free: 284 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.003386, allocations: 22.55 kB / 0.5573 GB, free: 252 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.003399, allocations: 8.859 kB / 0.5573 GB, free: 240 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.003676, allocations: 55.95 kB / 0.5574 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.003692, allocations: 30.56 kB / 0.5574 GB, free: 144 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.003693, allocations: 3.938 kB / 0.5574 GB, free: 140 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000121/0.003814, allocations: 33.7 kB / 0.5575 GB, free: 100 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.003841, allocations: 51.41 kB / 0.5575 GB, free: 36 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.003887, allocations: 93.84 kB / 0.5576 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.003896, allocations: 25.7 kB / 0.5576 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.601e-05/0.003912, allocations: 80.14 kB / 0.5577 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.003936, allocations: 3.938 kB / 0.5577 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.003959, allocations: 21.84 kB / 0.5577 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.004026, allocations: 314.8 kB / 0.558 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.004035, allocations: 0 / 0.558 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-06/0.004041, allocations: 4 kB / 0.558 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.004062, allocations: 4.859 kB / 0.558 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004064, allocations: 0 / 0.558 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.561e-05/0.004109, allocations: 37.69 kB / 0.5581 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.00412, allocations: 4 kB / 0.5581 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.004124, allocations: 0 / 0.5581 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.004134, allocations: 4.094 kB / 0.5581 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.004175, allocations: 4 kB / 0.5581 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.004179, allocations: 3.938 kB / 0.5581 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.004189, allocations: 7.938 kB / 0.5581 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004193, allocations: 0 / 0.5581 GB, free: 15.39 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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 4.664e-05/0.004239, allocations: 109.8 kB / 0.5582 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.004248, allocations: 0 / 0.5582 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.004315, allocations: 36.69 kB / 0.5582 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004316, allocations: 0 / 0.5582 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00432, allocations: 4.031 kB / 0.5582 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004323, allocations: 0 / 0.5582 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.024e-05/0.004373, allocations: 117.1 kB / 0.5583 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.004374, allocations: 4 kB / 0.5583 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.004382, allocations: 0 / 0.5583 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.004385, allocations: 4 kB / 0.5584 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.00439, allocations: 0 / 0.5584 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.004392, allocations: 3.984 kB / 0.5584 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004393, allocations: 0 / 0.5584 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.004441, allocations: 61.02 kB / 0.5584 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-06/0.004444, allocations: 4.031 kB / 0.5584 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.004452, allocations: 0 / 0.5584 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-06/0.004456, allocations: 0 / 0.5584 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.004468, allocations: 3.984 kB / 0.5584 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-06/0.004469, allocations: 4 kB / 0.5584 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.004487, allocations: 75.28 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.004487, allocations: 0 / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001302/0.004617, allocations: 11.94 kB / 0.5585 GB, free: 14.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001391/0.004756, allocations: 119.1 kB / 0.5586 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.587e-05/0.004812, allocations: 11.98 kB / 0.5586 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.004813, allocations: 3.938 kB / 0.5586 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.004818, allocations: 4 kB / 0.5586 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.404e-05/0.004912, allocations: 1.719 kB / 0.5586 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.005074, allocations: 110.6 kB / 0.5587 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.005103, allocations: 51.36 kB / 0.5588 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.005118, allocations: 12.5 kB / 0.5588 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of SimCode: time 4.41e-07/0.005118, allocations: 0 / 0.5588 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.001309/0.006427, allocations: 475.9 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.663283666595817] Failed to read output from testmodel.py, exit status != 0: 0.011967950500547886 0.02088343 0.015985943000000002 Calling exit ...