Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 121.2 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 189.5 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 249.1 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8178/0.8178, allocations: 128.4 MB / 432.4 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 0.5988 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3857, allocations: 83.27 MB / 0.6801 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001572/0.3873, allocations: 0.5816 MB / 0.6806 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.3883, allocations: 1.122 MB / 0.6817 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.3883, allocations: 3.938 kB / 0.6817 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.3883, allocations: 0 / 0.6817 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3886, allocations: 23.09 kB / 0.6818 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.965e-06/0.3886, allocations: 0 / 0.6818 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.15e-05/0.3886, allocations: 10.88 kB / 0.6818 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.3886, allocations: 5 kB / 0.6818 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.3887, allocations: 1.656 kB / 0.6818 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.925e-05/0.3887, allocations: 5 kB / 0.6818 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-06/0.3887, allocations: 0 / 0.6818 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.3888, allocations: 20.53 kB / 0.6818 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-06/0.3888, allocations: 3.938 kB / 0.6818 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.135e-05/0.3888, allocations: 4.969 kB / 0.6818 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.057e-05/0.3889, allocations: 13.14 kB / 0.6818 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3889, allocations: 4 kB / 0.6818 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3889, allocations: 1.188 kB / 0.6818 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3889, allocations: 0 / 0.6818 GB, free: 5.652 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000222/0.3891, allocations: 316.5 kB / 0.6821 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3891, allocations: 9.594 kB / 0.6821 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.3892, allocations: 0.9375 kB / 0.6821 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.862e-05/0.3892, allocations: 169.4 kB / 0.6823 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.3892, allocations: 384 / 0.6823 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3892, allocations: 1.75 kB / 0.6823 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.3893, allocations: 38.14 kB / 0.6823 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3894, allocations: 1.719 kB / 0.6823 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3894, allocations: 0 / 0.6823 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3894, allocations: 3.938 kB / 0.6823 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.3894, allocations: 15.58 kB / 0.6824 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.3895, allocations: 149 kB / 0.6825 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3897, allocations: 33.05 kB / 0.6825 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.3897, allocations: 16.42 kB / 0.6826 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3898, allocations: 88.17 kB / 0.6826 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.3898, allocations: 35.91 kB / 0.6827 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3898, allocations: 0 / 0.6827 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004087/0.3939, allocations: 0.5689 MB / 0.6832 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.3939, allocations: 55.34 kB / 0.6833 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.448e-05/0.394, allocations: 95.02 kB / 0.6834 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.394, allocations: 25.7 kB / 0.6834 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-06/0.394, allocations: 80.14 kB / 0.6835 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.394, allocations: 22.08 kB / 0.6835 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3941, allocations: 14.19 kB / 0.6835 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.3941, allocations: 316 kB / 0.6838 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.3947, allocations: 83.67 kB / 0.6839 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.3953, allocations: 106.7 kB / 0.684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3964, allocations: 188.1 kB / 0.6842 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3964, allocations: 4 kB / 0.6842 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001213/0.3976, allocations: 217.9 kB / 0.6844 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3976, allocations: 5.812 kB / 0.6844 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3976, allocations: 1.125 kB / 0.6844 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3976, allocations: 8.953 kB / 0.6844 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.398, allocations: 49.88 kB / 0.6844 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.398, allocations: 1.125 kB / 0.6844 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.3983, allocations: 39.36 kB / 0.6845 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3984, allocations: 1.438 kB / 0.6845 GB, free: 3.598 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.393e-05/0.3984, allocations: 112.4 kB / 0.6846 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.3984, allocations: 9.328 kB / 0.6846 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.3997, allocations: 242.9 kB / 0.6848 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3997, allocations: 0 / 0.6848 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3997, allocations: 1.312 kB / 0.6848 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3997, allocations: 0 / 0.6848 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.401, allocations: 459.1 kB / 0.6853 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.401, allocations: 0 / 0.6853 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.4014, allocations: 53.06 kB / 0.6853 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4014, allocations: 0 / 0.6853 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4014, allocations: 1.219 kB / 0.6853 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4014, allocations: 1.219 kB / 0.6853 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4014, allocations: 0 / 0.6853 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4026, allocations: 305.7 kB / 0.6856 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.4026, allocations: 90.47 kB / 0.6857 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.4026, allocations: 1.625 kB / 0.6857 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.403, allocations: 41.44 kB / 0.6857 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.403, allocations: 6.625 kB / 0.6857 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.403, allocations: 1.312 kB / 0.6857 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.748e-06/0.403, allocations: 75.28 kB / 0.6858 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.403, allocations: 0 / 0.6858 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002487/0.4032, allocations: 18.25 kB / 0.6858 GB, free: 2.59 MB / 0.4981 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 (5): * Single equations (assignments): 5 * 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.0001309/0.4034, allocations: 103.2 kB / 0.6859 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.4046, allocations: 180.6 kB / 0.6861 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4046, allocations: 1.469 kB / 0.6861 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.4051, allocations: 90.27 kB / 0.6862 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4053, allocations: 10.86 kB / 0.6862 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4064, allocations: 233.4 kB / 0.6864 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4065, allocations: 0.6727 MB / 0.6871 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.4066, allocations: 19.08 kB / 0.6871 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4066, allocations: 4 kB / 0.6871 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of Templates: time 0.002371/0.409, allocations: 1.107 MB / 0.6882 GB, free: 0.9531 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.516447655856609] Failed to read output from testmodel.py, exit status != 0: 0.41604391299188137 0.42746872900000005 0.036013487000000004 Calling exit ...