Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.0007481/0.0007481, 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.000775/0.000775, allocations: 165.9 kB / 23.97 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.8478/0.8478, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5508/0.5508, allocations: 114 MB / 374.7 MB, free: 8.707 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5554 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.525e-05, allocations: 7.844 kB / 0.5554 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001847/0.001872, allocations: 1.474 MB / 0.5569 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000734/0.002606, allocations: 0.5804 MB / 0.5574 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.002654, allocations: 4 kB / 0.5574 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.002678, allocations: 4 kB / 0.5574 GB, free: 196 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.002717, allocations: 3.938 kB / 0.5574 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.00299, allocations: 59.69 kB / 0.5575 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.003077, allocations: 31.91 kB / 0.5575 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.003158, allocations: 4 kB / 0.5575 GB, free: 96 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003263, allocations: 23.92 kB / 0.5576 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.003304, allocations: 7.984 kB / 0.5576 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003317, allocations: 4 kB / 0.5576 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.003429, allocations: 63.89 kB / 0.5576 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.00344, allocations: 7.938 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.003457, allocations: 8 kB / 0.5577 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003589, allocations: 79.69 kB / 0.5577 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003592, allocations: 0 / 0.5577 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003593, allocations: 0 / 0.5577 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003597, allocations: 0 / 0.5577 GB, free: 15.9 MB / 0.5261 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.0005255/0.004122, allocations: 278.1 kB / 0.558 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.004157, allocations: 8.031 kB / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.01089, allocations: 2.432 MB / 0.5604 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.01112, allocations: 157.7 kB / 0.5605 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.01113, allocations: 4.359 kB / 0.5605 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.01116, allocations: 4.375 kB / 0.5605 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.01364, allocations: 1.013 MB / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.01364, allocations: 192 / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01367, allocations: 384 / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.01368, allocations: 7.938 kB / 0.5615 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004592/0.01827, allocations: 1.861 MB / 0.5633 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.02139, allocations: 1.396 MB / 0.5647 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.02612, allocations: 1.875 MB / 0.5665 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.02832, allocations: 0.9335 MB / 0.5675 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.02834, allocations: 0 / 0.5675 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.02837, allocations: 42.44 kB / 0.5675 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.02837, allocations: 0 / 0.5675 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.006681/0.03505, allocations: 2.745 MB / 0.5702 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.03509, allocations: 55.34 kB / 0.5702 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.03516, allocations: 117.8 kB / 0.5703 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.03519, allocations: 25.7 kB / 0.5704 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.03523, allocations: 88.12 kB / 0.5704 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.03526, allocations: 3.953 kB / 0.5705 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.03533, allocations: 25.69 kB / 0.5705 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.03541, allocations: 314.8 kB / 0.5708 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.03764, allocations: 0.9326 MB / 0.5717 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.04014, allocations: 0.9286 MB / 0.5726 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/0.04425, allocations: 1.679 MB / 0.5742 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.04425, allocations: 4 kB / 0.5742 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004375/0.04863, allocations: 1.808 MB / 0.576 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.04866, allocations: 11.94 kB / 0.576 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.04867, allocations: 0 / 0.576 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.04869, allocations: 0 / 0.576 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.05002, allocations: 471.5 kB / 0.5765 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.05002, allocations: 0 / 0.5765 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.05123, allocations: 455.5 kB / 0.5769 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.05125, allocations: 7.984 kB / 0.5769 GB, free: 12.07 MB / 0.5417 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 0.0001051/0.05136, allocations: 105.8 kB / 0.577 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.05139, allocations: 15.83 kB / 0.577 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.05144, allocations: 11.62 kB / 0.577 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.05145, allocations: 4 kB / 0.577 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.05145, allocations: 3.984 kB / 0.577 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.05146, allocations: 0 / 0.577 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.05171, allocations: 246.2 kB / 0.5773 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.05171, allocations: 4.375 kB / 0.5773 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.05291, allocations: 467.5 kB / 0.5777 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.05291, allocations: 0 / 0.5777 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.05294, allocations: 11.92 kB / 0.5777 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.05294, allocations: 7.922 kB / 0.5777 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.05295, allocations: 0 / 0.5777 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.05761, allocations: 1.9 MB / 0.5796 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.05762, allocations: 7.953 kB / 0.5796 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.05765, allocations: 7.875 kB / 0.5796 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.05882, allocations: 455.5 kB / 0.5801 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.05886, allocations: 4 kB / 0.5801 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.05887, allocations: 3.984 kB / 0.5801 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.05892, allocations: 95.2 kB / 0.5801 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.05892, allocations: 0 / 0.5801 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001954/0.05911, allocations: 36 kB / 0.5802 GB, free: 8.652 MB / 0.5417 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 0.0001158/0.05923, allocations: 95.25 kB / 0.5803 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004492/0.06372, allocations: 1.865 MB / 0.5821 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.06372, allocations: 0 / 0.5821 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.06595, allocations: 0.9404 MB / 0.583 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.06615, allocations: 0 / 0.583 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.06868, allocations: 1.072 MB / 0.5841 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.06873, allocations: 67.33 kB / 0.5841 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.06891, allocations: 28.45 kB / 0.5842 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/0.06891, allocations: 0 / 0.5842 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.003319/0.07223, allocations: 2.811 MB / 0.5869 GB, free: 1.68 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.661237778142095] Failed to read output from testmodel.py, exit status != 0: 0.07805613242089748 0.08699620000000001 0.08151501600000001 Calling exit ...