Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0007453/0.0007453, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0007768/0.0007768, allocations: 213 kB / 23 MB, free: 2.98 MB / 13.93 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.8958/0.8958, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7715/0.7715, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: IDEAS 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.0009764/0.0009764, allocations: 66.67 kB / 0.7194 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4754, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001318/0.4767, allocations: 0.5968 MB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.4776, allocations: 1.133 MB / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.4777, allocations: 0 / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.4777, allocations: 0 / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4779, allocations: 16.02 kB / 0.8208 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.798e-06/0.4779, allocations: 0 / 0.8208 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.061e-05/0.478, allocations: 4.547 kB / 0.8208 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.478, allocations: 10.84 kB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.478, allocations: 0 / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.447e-05/0.4781, allocations: 7 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.4781, allocations: 3.938 kB / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.4782, allocations: 17.94 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.4782, allocations: 0.5312 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.4782, allocations: 7.172 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/0.4783, allocations: 14.28 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4783, allocations: 0 / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4783, allocations: 0 / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4783, allocations: 4.156 kB / 0.8208 GB, free: 108 kB / 0.6042 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.0002244/0.4785, allocations: 243.2 kB / 0.8211 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4785, allocations: 8.5 kB / 0.8211 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.4788, allocations: 23.03 kB / 0.8211 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.4788, allocations: 113.2 kB / 0.8212 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4788, allocations: 384 / 0.8212 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4789, allocations: 2.812 kB / 0.8212 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.479, allocations: 38.92 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.479, allocations: 0 / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.479, allocations: 6.703 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.479, allocations: 0 / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.479, allocations: 9.25 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.605e-05/0.4791, allocations: 98.03 kB / 0.8214 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.4793, allocations: 36.91 kB / 0.8214 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.4793, allocations: 13.56 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4793, allocations: 0.9688 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4793, allocations: 33.55 kB / 0.8214 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4793, allocations: 0 / 0.8214 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001883/0.4812, allocations: 0.5419 MB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.4812, allocations: 51.41 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.861e-05/0.4813, allocations: 91.88 kB / 0.8221 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.4813, allocations: 25.7 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.822e-05/0.4813, allocations: 80.14 kB / 0.8222 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.4813, allocations: 23.48 kB / 0.8222 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.4814, allocations: 21.98 kB / 0.8222 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.4814, allocations: 316.3 kB / 0.8225 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4817, allocations: 79.44 kB / 0.8226 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.482, allocations: 110.1 kB / 0.8227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.4826, allocations: 188.3 kB / 0.8229 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4826, allocations: 0 / 0.8229 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005913/0.4832, allocations: 214.7 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4832, allocations: 9.156 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4832, allocations: 2.141 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4832, allocations: 1.516 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4834, allocations: 61.34 kB / 0.8232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4834, allocations: 1.891 kB / 0.8232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.4835, allocations: 45.28 kB / 0.8232 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4835, allocations: 3.828 kB / 0.8232 GB, free: 14.57 MB / 0.6198 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 6.289e-05/0.4836, allocations: 112.5 kB / 0.8233 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.4836, allocations: 9.312 kB / 0.8233 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.4837, allocations: 9.953 kB / 0.8234 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4837, allocations: 0 / 0.8234 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4837, allocations: 1.406 kB / 0.8234 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4837, allocations: 1.031 kB / 0.8234 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.4845, allocations: 414.3 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4845, allocations: 0 / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.4847, allocations: 50.08 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4847, allocations: 0 / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4847, allocations: 2.344 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4847, allocations: 1.156 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4847, allocations: 0 / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.4853, allocations: 313 kB / 0.8241 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-06/0.4853, allocations: 2.156 kB / 0.8241 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4853, allocations: 1.438 kB / 0.8241 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4855, allocations: 44.77 kB / 0.8241 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.4855, allocations: 1.625 kB / 0.8241 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4855, allocations: 4.656 kB / 0.8242 GB, free: 14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.089e-05/0.4855, allocations: 75.28 kB / 0.8242 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4855, allocations: 0 / 0.8242 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001572/0.4857, allocations: 11.97 kB / 0.8242 GB, free: 13.92 MB / 0.6198 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 9.315e-05/0.4857, allocations: 98.5 kB / 0.8243 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.4863, allocations: 177.8 kB / 0.8245 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4863, allocations: 0.9062 kB / 0.8245 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.4866, allocations: 93.23 kB / 0.8246 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.4868, allocations: 8.891 kB / 0.8246 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.4874, allocations: 237.1 kB / 0.8248 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.4874, allocations: 58.67 kB / 0.8249 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.4875, allocations: 16.86 kB / 0.8249 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.4875, allocations: 4.5 kB / 0.8249 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.002069/0.4895, allocations: 1.092 MB / 0.826 GB, free: 13.5 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.472757512237877] Failed to read output from testmodel.py, exit status != 0: 0.4951087571680546 0.50485865 0.024656684 Calling exit ...