Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.001226/0.001226, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001247/0.001247, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.336/1.336, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.002355/0.002355, allocations: 237 kB / 260 MB, free: 452 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 0.8825/0.8825, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [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.003043/0.003043, allocations: 103.8 kB / 0.6474 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3672, allocations: 95.33 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002353/0.3695, allocations: 1.465 MB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.3699, allocations: 190.8 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.3699, allocations: 0 / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.37, allocations: 2.094 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.37, allocations: 8.594 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3702, allocations: 40.59 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.3703, allocations: 24.81 kB / 0.7421 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.745e-05/0.3704, allocations: 3.922 kB / 0.7421 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.3704, allocations: 8.891 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.3704, allocations: 10.27 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3704, allocations: 2.656 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.3705, allocations: 37.23 kB / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.3705, allocations: 5.641 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3706, allocations: 7.344 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3707, allocations: 44.7 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3707, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3707, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3707, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 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.0003216/0.371, allocations: 275.2 kB / 0.7425 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.371, allocations: 12.94 kB / 0.7425 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.371, allocations: 6.328 kB / 0.7425 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.118e-05/0.3711, allocations: 108.8 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3711, allocations: 5.688 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.3711, allocations: 5.281 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3713, allocations: 49.78 kB / 0.7427 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3713, allocations: 192 / 0.7427 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-06/0.3713, allocations: 4.453 kB / 0.7427 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3713, allocations: 1.375 kB / 0.7427 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3715, allocations: 32.25 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.3717, allocations: 192.2 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3718, allocations: 44.69 kB / 0.743 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.3718, allocations: 24.03 kB / 0.743 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.3719, allocations: 12.44 kB / 0.743 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3719, allocations: 31.47 kB / 0.743 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3719, allocations: 0 / 0.743 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003208/0.3722, allocations: 84.92 kB / 0.7431 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3723, allocations: 57.09 kB / 0.7432 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.3723, allocations: 110.7 kB / 0.7433 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.3723, allocations: 25.7 kB / 0.7433 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.3723, allocations: 82.03 kB / 0.7434 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.3723, allocations: 5.844 kB / 0.7434 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.3724, allocations: 17.61 kB / 0.7434 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.3724, allocations: 313.3 kB / 0.7437 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.3725, allocations: 18.08 kB / 0.7437 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.3726, allocations: 18.33 kB / 0.7437 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3727, allocations: 42.12 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3727, allocations: 1.312 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.3729, allocations: 70.61 kB / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3729, allocations: 10.27 kB / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3729, allocations: 0 / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3729, allocations: 0 / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.373, allocations: 13.95 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.373, allocations: 0 / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.373, allocations: 6.766 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.373, allocations: 0 / 0.7439 GB, free: 14.73 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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 3.655e-05/0.3731, allocations: 108.8 kB / 0.744 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3731, allocations: 10.58 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3733, allocations: 75.72 kB / 0.744 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3733, allocations: 0.5156 kB / 0.744 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3733, allocations: 5.312 kB / 0.7441 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3733, allocations: 4.5 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.3734, allocations: 105.1 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3734, allocations: 0 / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.3735, allocations: 12.75 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3735, allocations: 5.938 kB / 0.7442 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3735, allocations: 0.75 kB / 0.7442 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3735, allocations: 0 / 0.7442 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3735, allocations: 3.938 kB / 0.7442 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3737, allocations: 164.8 kB / 0.7443 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.3737, allocations: 5.75 kB / 0.7443 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3737, allocations: 1.828 kB / 0.7443 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3738, allocations: 5.219 kB / 0.7443 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.3738, allocations: 3.156 kB / 0.7443 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3738, allocations: 1.281 kB / 0.7444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.3738, allocations: 88.09 kB / 0.7444 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3738, allocations: 0 / 0.7444 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002219/0.374, allocations: 10.89 kB / 0.7444 GB, free: 14.19 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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 9.805e-05/0.3741, allocations: 105.2 kB / 0.7445 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3743, allocations: 39.11 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.3743, allocations: 3.938 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.3744, allocations: 20.2 kB / 0.7446 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3746, allocations: 4.5 kB / 0.7446 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.3748, allocations: 110.3 kB / 0.7447 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.3749, allocations: 60.94 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.3749, allocations: 2 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.3749, allocations: 9.844 kB / 0.7448 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.3749, allocations: 0 / 0.7448 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.002756/0.3777, allocations: 0.6171 MB / 0.7454 GB, free: 13.79 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.341378053999506] Failed to read output from testmodel.py, exit status != 0: 0.3846938870847225 0.39545757699999995 0.022381150000000002 Calling exit ...