Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.0007864/0.0007864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008069/0.0008069, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9675/0.9675, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7448/0.7448, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.738e-05/4.046e-05, allocations: 3.938 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003933/0.003973, allocations: 1.772 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.005363, allocations: 0.6932 MB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.00546, allocations: 0 / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.005507, allocations: 11.81 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.005581, allocations: 23.78 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.006102, allocations: 189.3 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.006262, allocations: 127.6 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.006401, allocations: 41.59 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.006576, allocations: 83.8 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.006644, allocations: 35.89 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.006666, allocations: 8 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.00676, allocations: 47.97 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.006785, allocations: 27.89 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.006823, allocations: 47.89 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.007023, allocations: 171.4 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.007028, allocations: 3.984 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.00703, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.007035, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004745/0.00751, allocations: 365.7 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.007557, allocations: 9.469 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.007601, allocations: 46.73 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.008132, allocations: 128.7 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.008423, allocations: 154.1 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.008527, allocations: 119.3 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.008544, allocations: 8.375 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.009062, allocations: 229 kB / 0.6223 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.009069, allocations: 0 / 0.6223 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.00909, allocations: 7.984 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009097, allocations: 4 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.00942, allocations: 163.8 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.01009, allocations: 413.3 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.01059, allocations: 214.3 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.01075, allocations: 80.91 kB / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.01077, allocations: 3.984 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.0108, allocations: 38.5 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.0108, allocations: 0 / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005864/0.01139, allocations: 265.3 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.01142, allocations: 55.41 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01153, allocations: 141.6 kB / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01155, allocations: 29.7 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.01162, allocations: 112.2 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.01164, allocations: 19.84 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.01169, allocations: 21.72 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.01179, allocations: 322.8 kB / 0.6241 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01196, allocations: 75.91 kB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01212, allocations: 94.5 kB / 0.6242 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01244, allocations: 162.6 kB / 0.6244 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01244, allocations: 0 / 0.6244 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003696/0.01281, allocations: 205.5 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.01283, allocations: 13.81 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01284, allocations: 0 / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01286, allocations: 0 / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.013, allocations: 43.94 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01301, allocations: 3.938 kB / 0.6246 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.01309, allocations: 23.91 kB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.0131, allocations: 4 kB / 0.6247 GB, free: 6.676 MB / 0.5886 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 (8): * Single equations (assignments): 8 * 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.124e-05/0.01318, allocations: 126.8 kB / 0.6248 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.01322, allocations: 19.88 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.0137, allocations: 198.2 kB / 0.625 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.0137, allocations: 4 kB / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.01371, allocations: 0 / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01371, allocations: 0 / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.0139, allocations: 189.7 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0139, allocations: 0 / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01401, allocations: 31.95 kB / 0.6252 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.01402, allocations: 7.922 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01403, allocations: 3.938 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01403, allocations: 0 / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01403, allocations: 0 / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.01443, allocations: 283.3 kB / 0.6255 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.01444, allocations: 7.953 kB / 0.6255 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01446, allocations: 7.938 kB / 0.6255 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.01459, allocations: 36.14 kB / 0.6255 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.01464, allocations: 3.984 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01466, allocations: 11.98 kB / 0.6255 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.01472, allocations: 107.3 kB / 0.6256 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01472, allocations: 3.938 kB / 0.6257 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001944/0.01491, allocations: 27.89 kB / 0.6257 GB, free: 5.551 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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.0006563/0.01557, allocations: 0.8216 MB / 0.6265 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.01593, allocations: 155.8 kB / 0.6266 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01593, allocations: 128 / 0.6266 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.01608, allocations: 83.91 kB / 0.6267 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01632, allocations: 12 kB / 0.6267 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.01825, allocations: 1.853 MB / 0.6285 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.01833, allocations: 85.31 kB / 0.6286 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.077e-05/0.01841, allocations: 23.97 kB / 0.6286 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.01849, allocations: 32.48 kB / 0.6287 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.01849, allocations: 3.938 kB / 0.6287 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.037, allocations: 3.585 MB / 0.6322 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.859, allocations: 12.84 kB / 0.6322 GB, free: 14.93 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82416500709951] Failed to read output from testmodel.py, exit status != 0: 6.940265618264675 6.948223464 6.9393539 Calling exit ...