Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.0008441/0.0008441, 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.0009165/0.0009165, allocations: 165.9 kB / 22.46 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.9618/0.9618, 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.7445/0.7445, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.095e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001418/0.001439, allocations: 0.6232 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.002919, allocations: 1.389 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.002948, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/0.003005, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.003043, allocations: 3.938 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.003678, allocations: 194.6 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003782, allocations: 43.91 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.003825, allocations: 3.984 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.003878, allocations: 23.98 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.003931, allocations: 27.89 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003946, allocations: 4 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.004221, allocations: 203.7 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.004273, allocations: 19.91 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.004302, allocations: 11.98 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.004545, allocations: 231.4 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.004549, allocations: 4 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004551, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004555, allocations: 0 / 0.6208 GB, free: 10.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003516/0.004907, allocations: 361.3 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.00495, allocations: 17.41 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.004977, allocations: 34.73 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.00501, allocations: 8.891 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.005096, allocations: 119.9 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005108, allocations: 4.375 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.005117, allocations: 4.312 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.00527, allocations: 127.9 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.005276, allocations: 192 / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005286, allocations: 4.125 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.00529, allocations: 3.938 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.005367, allocations: 97.64 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.005491, allocations: 140.7 kB / 0.6217 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005592, allocations: 108.2 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.005661, allocations: 98.53 kB / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.005667, allocations: 0 / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.005689, allocations: 34.56 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 4.71e-07/0.005689, allocations: 4 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003183/0.006007, allocations: 314.5 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.006046, allocations: 81.11 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.006142, allocations: 145.8 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006153, allocations: 25.7 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.006191, allocations: 92.14 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.006213, allocations: 11.89 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.006249, allocations: 25.72 kB / 0.6226 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.006334, allocations: 322.8 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.006452, allocations: 171.3 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.006554, allocations: 171.4 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.00674, allocations: 281.8 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006742, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002586/0.007, allocations: 397.5 kB / 0.6239 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.007045, allocations: 67.39 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.007051, allocations: 3.938 kB / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007063, allocations: 0 / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.007064, allocations: 0 / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.00707, allocations: 0 / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.007223, allocations: 19.92 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.007235, allocations: 7.938 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001042/0.007339, allocations: 152.5 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.00735, allocations: 7.953 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.007368, allocations: 12.28 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.00737, allocations: 0 / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007375, allocations: 0 / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.007377, allocations: 0 / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.007459, allocations: 140.7 kB / 0.6243 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00746, allocations: 0 / 0.6243 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.007462, allocations: 4 kB / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007463, allocations: 0 / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.007473, allocations: 11.94 kB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.007475, allocations: 0 / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007476, allocations: 0 / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.007672, allocations: 264.4 kB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.007682, allocations: 11.89 kB / 0.6245 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.007697, allocations: 7.938 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.007734, allocations: 0 / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.007788, allocations: 11.98 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007792, allocations: 3.938 kB / 0.6246 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.00784, allocations: 113.3 kB / 0.6247 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00784, allocations: 4 kB / 0.6247 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002269/0.008067, allocations: 67.91 kB / 0.6247 GB, free: 6.453 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005194/0.008587, allocations: 0.8382 MB / 0.6256 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.008892, allocations: 427.7 kB / 0.626 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008894, allocations: 0 / 0.626 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.00899, allocations: 157 kB / 0.6261 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.009109, allocations: 4 kB / 0.6261 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.0107, allocations: 2.456 MB / 0.6285 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.01075, allocations: 79.66 kB / 0.6286 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.851e-06/0.01076, allocations: 0 / 0.6286 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.01079, allocations: 24.47 kB / 0.6286 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.01079, allocations: 0 / 0.6286 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.02898, allocations: 4.037 MB / 0.6326 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.798, allocations: 8.578 kB / 0.6326 GB, free: 14.31 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_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_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.752169460058212] Failed to read output from testmodel.py, exit status != 0: 6.879850308410823 6.892816721 6.884993854 Calling exit ...