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.0008205/0.0008205, allocations: 105.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.0008367/0.0008367, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9357/0.9357, allocations: 230.6 MB / 256 MB, free: 9.816 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.7965/0.7965, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.0009719/0.0009719, allocations: 71.02 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.6002, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002043/0.6022, allocations: 1.465 MB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.603, allocations: 0.5213 MB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.603, allocations: 0 / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.6031, allocations: 3.938 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.6031, allocations: 2.672 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.6034, allocations: 19.34 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.6035, allocations: 27.72 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.6036, allocations: 17.11 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.6037, allocations: 5.203 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.6037, allocations: 14.09 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6037, allocations: 6.281 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.6038, allocations: 21.91 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.6038, allocations: 4.781 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.6038, allocations: 9.391 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.604, allocations: 38 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.604, allocations: 0 / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.604, allocations: 0 / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.604, allocations: 0.6094 kB / 0.82 GB, free: 15.81 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.0004138/0.6044, allocations: 272.1 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6044, allocations: 10.19 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.6045, allocations: 31.27 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.6047, allocations: 19.23 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.6048, allocations: 110.8 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6048, allocations: 384 / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.6048, allocations: 0.9375 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.6049, allocations: 65.89 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6049, allocations: 3.984 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.6049, allocations: 0 / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6049, allocations: 0 / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.605, allocations: 37.77 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.6054, allocations: 225.2 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.6055, allocations: 46 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.6055, allocations: 27.11 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.6056, allocations: 0 / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.6056, allocations: 31.36 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.6056, allocations: 3.938 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.6058, allocations: 95.75 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.6059, allocations: 56 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.6059, allocations: 101.5 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.6059, allocations: 29.7 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.606, allocations: 80.84 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.606, allocations: 4.656 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.606, allocations: 21.14 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003597/0.6064, allocations: 321.8 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.6065, allocations: 19.28 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.6065, allocations: 16.94 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.6066, allocations: 43.08 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6066, allocations: 0 / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001299/0.6067, allocations: 84.03 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6067, allocations: 3.281 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.6067, allocations: 0 / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6068, allocations: 0.7031 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.6069, allocations: 10.77 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6069, allocations: 0 / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.6069, allocations: 8.953 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.6069, allocations: 0 / 0.8217 GB, free: 14.23 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 8.297e-05/0.607, allocations: 115.4 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.607, allocations: 3.406 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.6071, allocations: 11.27 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6071, allocations: 1.719 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6071, allocations: 0.8906 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.6071, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.6072, allocations: 142.2 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6072, allocations: 0.7969 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.6072, allocations: 14.69 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6072, allocations: 0.6562 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.6073, allocations: 0 / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6073, allocations: 0 / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6073, allocations: 0.5625 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.6074, allocations: 171.7 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.6074, allocations: 8.484 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.6075, allocations: 4.516 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.6075, allocations: 9.484 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.6075, allocations: 1.312 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6075, allocations: 0 / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.6076, allocations: 83.97 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6076, allocations: 0 / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001437/0.6077, allocations: 11 kB / 0.8222 GB, free: 13.7 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.0003944/0.6081, allocations: 0.6965 MB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.6083, allocations: 41.72 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6083, allocations: 4.094 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.6083, allocations: 17.27 kB / 0.823 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.6086, allocations: 14.31 kB / 0.823 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.6089, allocations: 146.4 kB / 0.8231 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.6092, allocations: 0.6743 MB / 0.8238 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.6092, allocations: 7.25 kB / 0.8238 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.6092, allocations: 13.97 kB / 0.8238 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 5.62e-07/0.6092, allocations: 0 / 0.8238 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.6275, allocations: 1.525 MB / 0.8253 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.464/7.092, allocations: 7.828 kB / 0.8253 GB, free: 11.7 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.138783807167783] Failed to read output from testmodel.py, exit status != 0: 7.170552457915619 7.183520195 6.5773381109999995 Calling exit ...