Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001049/0.001049, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001078/0.001078, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9224/0.9224, allocations: 230.6 MB / 256 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.863/0.863, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001067/0.001067, allocations: 71.66 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6127, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002017/0.6147, allocations: 1.46 MB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.6155, allocations: 485.1 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.6155, allocations: 2.875 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.6156, allocations: 4.5 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.6156, allocations: 0.6094 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.6159, allocations: 32.44 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.616, allocations: 19.3 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.6161, allocations: 8.828 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.6161, allocations: 8.906 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.6162, allocations: 13.86 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.6162, allocations: 4.656 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.6163, allocations: 17.3 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.6163, allocations: 4.234 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.6163, allocations: 11.06 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.6164, allocations: 33.06 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6164, allocations: 4 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6164, allocations: 0 / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6164, allocations: 0 / 0.8198 GB, free: 15.65 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.0006595/0.6171, allocations: 268.5 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6171, allocations: 12.34 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.6172, allocations: 35.45 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.6174, allocations: 18.48 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.076e-05/0.6174, allocations: 103.9 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6175, allocations: 1.062 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.6175, allocations: 2.344 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.6176, allocations: 69.48 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6176, allocations: 0 / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.6176, allocations: 0 / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6176, allocations: 0.7969 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.6177, allocations: 41.08 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.6181, allocations: 218 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6182, allocations: 49.7 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.6182, allocations: 22.77 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.6182, allocations: 0.75 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6183, allocations: 37.47 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6183, allocations: 0 / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002529/0.6185, allocations: 86.89 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.6186, allocations: 53.59 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.6186, allocations: 105.1 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6186, allocations: 32.61 kB / 0.8209 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.6187, allocations: 84.83 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.6187, allocations: 10.22 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.6187, allocations: 17.98 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.6188, allocations: 316 kB / 0.8214 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.6189, allocations: 18.72 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.6189, allocations: 20.56 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.619, allocations: 43.09 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.619, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001265/0.6191, allocations: 71.67 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6191, allocations: 4.719 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6191, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6192, allocations: 1.469 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.6192, allocations: 9.875 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6193, allocations: 7.969 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.6193, allocations: 6.719 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.6193, allocations: 1.656 kB / 0.8215 GB, free: 14.08 MB / 0.6198 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 6.068e-05/0.6194, allocations: 117 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.6194, allocations: 1.25 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.6194, allocations: 9.391 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6194, allocations: 0.6094 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6194, allocations: 1.375 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6194, allocations: 4 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.6195, allocations: 135.8 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6195, allocations: 0 / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.6196, allocations: 10.09 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.6196, allocations: 0 / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.6196, allocations: 0.6094 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6196, allocations: 3.781 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6196, allocations: 4.609 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.6198, allocations: 178 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.6198, allocations: 3.984 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.6198, allocations: 2.312 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.6198, allocations: 6.375 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.6199, allocations: 5.422 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6199, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.6199, allocations: 87.81 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6199, allocations: 0 / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001457/0.6201, allocations: 7.938 kB / 0.8221 GB, free: 13.54 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 (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.0003798/0.6204, allocations: 0.6958 MB / 0.8228 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.6206, allocations: 44.77 kB / 0.8228 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6206, allocations: 3.938 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.6206, allocations: 23.97 kB / 0.8228 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.0002636/0.6209, allocations: 6.75 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.6213, allocations: 147 kB / 0.823 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.6213, allocations: 59.36 kB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.6214, allocations: 4.375 kB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.6214, allocations: 16.09 kB / 0.8231 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.6214, allocations: 0 / 0.8231 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.6397, allocations: 1.958 MB / 0.825 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/7.22, allocations: 1.719 kB / 0.825 GB, free: 11.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.36776273790747] Failed to read output from testmodel.py, exit status != 0: 7.297871914226562 7.310519381 6.691815334 Calling exit ...