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.0007853/0.0007853, 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.000809/0.000809, allocations: 165.9 kB / 22.45 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.917/0.917, allocations: 177.1 MB / 202.8 MB, free: 5.602 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.7291/0.7291, allocations: 154.6 MB / 413.7 MB, free: 0.7734 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 1.503e-06/1.503e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.952e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002725/0.002755, allocations: 1.763 MB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000925/0.00368, allocations: 0.701 MB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.003748, allocations: 3.938 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.003788, allocations: 7.875 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.003848, allocations: 27.73 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.004442, allocations: 181.9 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.004639, allocations: 123.6 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.004801, allocations: 37.59 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.005013, allocations: 91.8 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.005098, allocations: 31.89 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.005126, allocations: 12 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005239, allocations: 51.94 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.005273, allocations: 31.91 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.005314, allocations: 31.91 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.005554, allocations: 179.4 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005558, allocations: 4 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00556, allocations: 0 / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.005566, allocations: 0 / 0.6212 GB, free: 10.4 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.0004813/0.006047, allocations: 373.6 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.006087, allocations: 9.469 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.006123, allocations: 38.75 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.006608, allocations: 136.6 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.006833, allocations: 146.2 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.384e-05/0.006917, allocations: 115.4 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.006932, allocations: 8.312 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.007253, allocations: 229 kB / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00726, allocations: 0 / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.007275, allocations: 0 / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.007281, allocations: 8 kB / 0.6223 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.007576, allocations: 155.8 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.008208, allocations: 421.2 kB / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.008685, allocations: 214.3 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.008829, allocations: 80.89 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.008851, allocations: 7.938 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.008874, allocations: 30.56 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.008875, allocations: 0 / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005422/0.009417, allocations: 273.3 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.009446, allocations: 51.41 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.009533, allocations: 141.2 kB / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.009551, allocations: 29.64 kB / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.009607, allocations: 112.2 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.009626, allocations: 27.84 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.009678, allocations: 25.7 kB / 0.6238 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.009756, allocations: 314.8 kB / 0.6241 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.009905, allocations: 79.91 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01006, allocations: 94.44 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.01034, allocations: 158.4 kB / 0.6244 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01034, allocations: 0 / 0.6244 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003325/0.01068, allocations: 205.4 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01069, allocations: 7.938 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.0107, allocations: 0 / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01071, allocations: 7.984 kB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01083, allocations: 35.89 kB / 0.6246 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01084, allocations: 4.062 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.01092, allocations: 35.89 kB / 0.6247 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.01093, allocations: 0 / 0.6247 GB, free: 6.652 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 7.362e-05/0.01101, allocations: 122.8 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.01103, allocations: 11.89 kB / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.0114, allocations: 210.2 kB / 0.625 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.0114, allocations: 0 / 0.625 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01141, allocations: 0 / 0.625 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01141, allocations: 4 kB / 0.625 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01156, allocations: 185.7 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01157, allocations: 3.938 kB / 0.6252 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.01166, allocations: 40.33 kB / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01166, allocations: 3.938 kB / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.01167, allocations: 0 / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01168, allocations: 4 kB / 0.6252 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01168, allocations: 0 / 0.6252 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01202, allocations: 287.3 kB / 0.6255 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.01203, allocations: 3.953 kB / 0.6255 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.01204, allocations: 7.938 kB / 0.6255 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01217, allocations: 31.89 kB / 0.6255 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.0122, allocations: 7.984 kB / 0.6255 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01221, allocations: 7.984 kB / 0.6255 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.01226, allocations: 107.3 kB / 0.6257 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0 / 0.6257 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001749/0.01243, allocations: 31.88 kB / 0.6257 GB, free: 5.527 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.0005258/0.01296, allocations: 0.8099 MB / 0.6265 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.01329, allocations: 167.8 kB / 0.6266 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01329, allocations: 0 / 0.6266 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.01344, allocations: 83.8 kB / 0.6267 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01365, allocations: 12 kB / 0.6267 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.01546, allocations: 1.851 MB / 0.6285 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.01552, allocations: 89.31 kB / 0.6286 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.85e-05/0.01558, allocations: 12 kB / 0.6286 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.01564, allocations: 32.48 kB / 0.6287 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.01564, allocations: 4 kB / 0.6287 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.0328, allocations: 3.586 MB / 0.6322 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.241, allocations: 18.05 kB / 0.6322 GB, free: 14.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.963576210662723] Failed to read output from testmodel.py, exit status != 0: 7.325050440616906 7.337649945 7.329516644 Calling exit ...