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.0008047/0.0008047, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 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.0007865/0.0007865, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.022/1.022, allocations: 230.6 MB / 256 MB, free: 9.82 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.8157/0.8157, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [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.001093/0.001093, allocations: 68.64 kB / 0.7183 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5875, allocations: 102 MB / 0.8179 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001581/0.5891, allocations: 0.5998 MB / 0.8185 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.5902, allocations: 1.173 MB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.5903, allocations: 1.312 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.5903, allocations: 0 / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.5905, allocations: 21.44 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.5905, allocations: 0 / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.252e-05/0.5906, allocations: 3.797 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.5906, allocations: 5.312 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.5906, allocations: 9.828 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.5906, allocations: 5.094 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.5906, allocations: 0 / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.5908, allocations: 26.27 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.582e-06/0.5908, allocations: 0 / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.5908, allocations: 0.6875 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.064e-05/0.5909, allocations: 22.91 kB / 0.8197 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5909, allocations: 0 / 0.8197 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5909, allocations: 0 / 0.8197 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5909, allocations: 0 / 0.8197 GB, free: 15.87 MB / 0.6198 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.0002153/0.5911, allocations: 244.3 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5911, allocations: 10.5 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.396e-05/0.5911, allocations: 31.36 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.5913, allocations: 18.25 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.525e-05/0.5914, allocations: 107.3 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5914, allocations: 5.281 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.5914, allocations: 6.5 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5916, allocations: 41.22 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5916, allocations: 0 / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.5916, allocations: 0 / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.5916, allocations: 4 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.5916, allocations: 7.781 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.5917, allocations: 121.3 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.5919, allocations: 38.05 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.5919, allocations: 7.625 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5919, allocations: 8.375 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.5919, allocations: 42.5 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.5919, allocations: 0 / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001705/0.5936, allocations: 0.5366 MB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.5937, allocations: 51.92 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.597e-05/0.5937, allocations: 93.86 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5937, allocations: 31.62 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.5937, allocations: 84.08 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.5938, allocations: 15.44 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.5938, allocations: 21.17 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.5939, allocations: 311.5 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5942, allocations: 87.84 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.5944, allocations: 105.7 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.5949, allocations: 191.3 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5949, allocations: 1.156 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005255/0.5954, allocations: 219.3 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5954, allocations: 7.609 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5955, allocations: 0 / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5955, allocations: 0.7031 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.5956, allocations: 49.27 kB / 0.8221 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5957, allocations: 2.016 kB / 0.8221 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.5958, allocations: 48.36 kB / 0.8222 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5958, allocations: 3.234 kB / 0.8222 GB, free: 14.26 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 7.315e-05/0.5959, allocations: 121.1 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.5959, allocations: 5.281 kB / 0.8223 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.5959, allocations: 9.484 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5959, allocations: 0 / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.596, allocations: 1.094 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.596, allocations: 0.75 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.5969, allocations: 435.1 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5969, allocations: 1.25 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.597, allocations: 48.53 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.597, allocations: 1.062 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.597, allocations: 6.547 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.597, allocations: 1.219 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.597, allocations: 0 / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.5976, allocations: 307.7 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.5976, allocations: 1.344 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5976, allocations: 1.312 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5978, allocations: 39.67 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.5978, allocations: 2.906 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5978, allocations: 7.922 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.5979, allocations: 79.22 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5979, allocations: 3.938 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001683/0.598, allocations: 12.25 kB / 0.8232 GB, free: 13.57 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 0.000799/0.5988, allocations: 0.8288 MB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.5994, allocations: 188.5 kB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5994, allocations: 0 / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.5996, allocations: 93.67 kB / 0.8243 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.5998, allocations: 1.344 kB / 0.8243 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.6005, allocations: 249.5 kB / 0.8245 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.6007, allocations: 0.6746 MB / 0.8252 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.6008, allocations: 34.47 kB / 0.8252 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.6009, allocations: 13.33 kB / 0.8252 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.6009, allocations: 0 / 0.8252 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.6153, allocations: 1.704 MB / 0.8269 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.301/6.916, allocations: 11.78 kB / 0.8269 GB, free: 11.53 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.065879456931725] Failed to read output from testmodel.py, exit status != 0: 6.992648896062747 7.00464741 6.411746342 Calling exit ...