Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001479/0.001479, allocations: 119 kB / 17.81 MB, free: 5.254 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.001553/0.001553, allocations: 187.7 kB / 20.74 MB, free: 2.324 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.416/1.416, allocations: 225.6 MB / 249.1 MB, free: 3.598 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.8604/0.8604, allocations: 128.4 MB / 432.4 MB, free: 13.17 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 75.88 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.389, allocations: 83.26 MB / 0.68 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002188/0.3912, allocations: 1.437 MB / 0.6814 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006383/0.3919, allocations: 482.3 kB / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.3919, allocations: 0 / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.3919, allocations: 7.922 kB / 0.6819 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.392, allocations: 1.125 kB / 0.6819 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.3922, allocations: 23.73 kB / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.3922, allocations: 26.02 kB / 0.682 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.3923, allocations: 1.219 kB / 0.682 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.3924, allocations: 19.97 kB / 0.682 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.3924, allocations: 7.719 kB / 0.682 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3924, allocations: 2.531 kB / 0.682 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.3925, allocations: 20.89 kB / 0.682 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3925, allocations: 13.33 kB / 0.682 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.3925, allocations: 10.66 kB / 0.682 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.586e-05/0.3926, allocations: 25.08 kB / 0.6821 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3926, allocations: 4 kB / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3926, allocations: 0 / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3926, allocations: 0 / 0.6821 GB, free: 5.449 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.0003632/0.393, allocations: 349.5 kB / 0.6824 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.393, allocations: 9.594 kB / 0.6824 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.393, allocations: 6.219 kB / 0.6824 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.3931, allocations: 174.9 kB / 0.6826 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.3931, allocations: 384 / 0.6826 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3931, allocations: 9.438 kB / 0.6826 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3933, allocations: 53.98 kB / 0.6826 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3933, allocations: 0 / 0.6826 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3933, allocations: 1.406 kB / 0.6826 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3933, allocations: 0 / 0.6826 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3935, allocations: 34.98 kB / 0.6827 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.3937, allocations: 249.3 kB / 0.6829 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3938, allocations: 42.7 kB / 0.6829 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.3939, allocations: 26.88 kB / 0.683 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.394, allocations: 79.58 kB / 0.683 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.394, allocations: 31.94 kB / 0.6831 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.394, allocations: 0 / 0.6831 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.3944, allocations: 85.8 kB / 0.6832 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3944, allocations: 51.41 kB / 0.6832 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.3944, allocations: 112.1 kB / 0.6833 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.3944, allocations: 27.02 kB / 0.6833 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.3945, allocations: 81.45 kB / 0.6834 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3945, allocations: 3.953 kB / 0.6834 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.3945, allocations: 20 kB / 0.6834 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3946, allocations: 316.2 kB / 0.6837 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.3946, allocations: 18.17 kB / 0.6838 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.3947, allocations: 13.73 kB / 0.6838 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3949, allocations: 47.34 kB / 0.6838 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3949, allocations: 0 / 0.6838 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.395, allocations: 65.08 kB / 0.6839 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3951, allocations: 4.531 kB / 0.6839 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3951, allocations: 1.344 kB / 0.6839 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3951, allocations: 3.984 kB / 0.6839 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.3952, allocations: 10.69 kB / 0.6839 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3952, allocations: 0 / 0.6839 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.3952, allocations: 14.97 kB / 0.6839 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3952, allocations: 1.531 kB / 0.6839 GB, free: 3.52 MB / 0.4981 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 4.15e-05/0.3953, allocations: 115.1 kB / 0.684 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3953, allocations: 1.188 kB / 0.684 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3955, allocations: 75.52 kB / 0.6841 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3955, allocations: 1.188 kB / 0.6841 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3955, allocations: 8.016 kB / 0.6841 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3955, allocations: 0 / 0.6841 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3956, allocations: 159 kB / 0.6843 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3956, allocations: 0 / 0.6843 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.3957, allocations: 10.36 kB / 0.6843 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3957, allocations: 3.938 kB / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3957, allocations: 1.031 kB / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3957, allocations: 0 / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3957, allocations: 0.8438 kB / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3959, allocations: 168 kB / 0.6844 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.3959, allocations: 81.06 kB / 0.6845 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3959, allocations: 1.438 kB / 0.6845 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.396, allocations: 7.828 kB / 0.6845 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.396, allocations: 1.406 kB / 0.6845 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.396, allocations: 8.188 kB / 0.6845 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.396, allocations: 92.23 kB / 0.6846 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.396, allocations: 0 / 0.6846 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.3963, allocations: 9 kB / 0.6846 GB, free: 2.773 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 (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.0001335/0.3964, allocations: 102 kB / 0.6847 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3966, allocations: 45.3 kB / 0.6848 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3966, allocations: 0 / 0.6848 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.3967, allocations: 19.48 kB / 0.6848 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.397, allocations: 7.312 kB / 0.6848 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.3972, allocations: 133.7 kB / 0.6849 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3973, allocations: 0.6774 MB / 0.6856 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3973, allocations: 9.562 kB / 0.6856 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3973, allocations: 0 / 0.6856 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.002162/0.3995, allocations: 0.6576 MB / 0.6862 GB, free: 1.465 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.545168722979724] Failed to read output from testmodel.py, exit status != 0: 0.4065020210109651 0.418961999 0.023594541 Calling exit ...