Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007991/0.0007991, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008028/0.0008028, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6935/0.6935, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.211e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002198/0.00222, allocations: 1.762 MB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.003196, allocations: 0.7048 MB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.003263, allocations: 0 / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.003297, allocations: 11.88 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.003353, allocations: 23.73 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.003824, allocations: 186 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.003993, allocations: 131.5 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.004154, allocations: 33.61 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.004332, allocations: 83.86 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.004397, allocations: 31.89 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.004417, allocations: 12 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.004505, allocations: 55.88 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.004537, allocations: 35.84 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.004573, allocations: 39.89 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004767, allocations: 167.5 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.004772, allocations: 7.984 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004773, allocations: 4 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004777, allocations: 0 / 0.6213 GB, free: 10.34 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.0004535/0.005231, allocations: 363.9 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.005272, allocations: 8.031 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.005306, allocations: 42.73 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.005859, allocations: 132.7 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.006088, allocations: 158.1 kB / 0.622 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.006172, allocations: 115.4 kB / 0.6221 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.006188, allocations: 12.31 kB / 0.6221 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.006508, allocations: 229 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.006515, allocations: 0 / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.006532, allocations: 4 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006537, allocations: 4 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.006831, allocations: 151.8 kB / 0.6225 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.007483, allocations: 429.2 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.007966, allocations: 218.3 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.008114, allocations: 76.89 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.008139, allocations: 4 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.008163, allocations: 34.56 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 3.387e-06/0.008166, allocations: 3.984 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0006535/0.008819, allocations: 265.3 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.008847, allocations: 51.41 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.008937, allocations: 145.2 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.008956, allocations: 29.7 kB / 0.6237 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.009006, allocations: 112.1 kB / 0.6238 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.009025, allocations: 27.78 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.009067, allocations: 25.7 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.009145, allocations: 314.8 kB / 0.6241 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.009298, allocations: 79.91 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.009456, allocations: 98.48 kB / 0.6243 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.009743, allocations: 154.7 kB / 0.6244 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.009746, allocations: 8 kB / 0.6245 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003436/0.01009, allocations: 205.4 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01011, allocations: 7.938 kB / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01011, allocations: 0 / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01013, allocations: 4.062 kB / 0.6247 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01027, allocations: 39.94 kB / 0.6247 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01027, allocations: 0 / 0.6247 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.01035, allocations: 31.91 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.01036, allocations: 0 / 0.6247 GB, free: 6.582 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 9.422e-05/0.01046, allocations: 118.8 kB / 0.6248 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01048, allocations: 15.88 kB / 0.6249 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.01088, allocations: 210.2 kB / 0.6251 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01088, allocations: 0 / 0.6251 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01088, allocations: 0 / 0.6251 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01089, allocations: 4 kB / 0.6251 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.01105, allocations: 181.7 kB / 0.6252 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01105, allocations: 0 / 0.6252 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.01115, allocations: 35.94 kB / 0.6253 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01115, allocations: 3.938 kB / 0.6253 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01116, allocations: 3.938 kB / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01116, allocations: 0 / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01117, allocations: 0 / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.01152, allocations: 291.3 kB / 0.6256 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.01153, allocations: 7.953 kB / 0.6256 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.01155, allocations: 8.125 kB / 0.6256 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.01168, allocations: 35.95 kB / 0.6256 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.01172, allocations: 3.984 kB / 0.6256 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01173, allocations: 11.92 kB / 0.6256 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.01178, allocations: 114.5 kB / 0.6257 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 0.6257 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001763/0.01196, allocations: 31.89 kB / 0.6258 GB, free: 5.457 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.0005785/0.01254, allocations: 0.806 MB / 0.6265 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.01289, allocations: 163.8 kB / 0.6267 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01289, allocations: 0 / 0.6267 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01304, allocations: 87.97 kB / 0.6268 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.01327, allocations: 8 kB / 0.6268 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.0154, allocations: 1.847 MB / 0.6286 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.01547, allocations: 93.25 kB / 0.6287 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.01553, allocations: 23.73 kB / 0.6287 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.0156, allocations: 36.48 kB / 0.6287 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.0156, allocations: 0 / 0.6287 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.03322, allocations: 3.563 MB / 0.6322 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.061, allocations: 6.656 kB / 0.6322 GB, free: 14.86 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.778291658498347] Failed to read output from testmodel.py, exit status != 0: 7.140447002835572 7.149793861 7.143308368 Calling exit ...