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.000766/0.000766, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008487/0.0008487, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9767/0.9767, allocations: 230.6 MB / 256 MB, free: 9.602 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.831/0.831, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.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: 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.0009985/0.0009985, allocations: 70.31 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5688, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001528/0.5703, allocations: 0.6234 MB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.5718, allocations: 1.386 MB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.5718, allocations: 4 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.03e-05/0.5719, allocations: 0.7031 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.5719, allocations: 6.25 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.5725, allocations: 183.6 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.5726, allocations: 50.17 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.5726, allocations: 8 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.5727, allocations: 20.05 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.5727, allocations: 29.58 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5728, allocations: 1.938 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.5731, allocations: 211.5 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.5731, allocations: 16.92 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.5732, allocations: 15.62 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.5735, allocations: 191.1 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5735, allocations: 2.906 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5735, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5735, allocations: 0 / 0.8205 GB, free: 15.47 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004211/0.5739, allocations: 372.2 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5739, allocations: 13.84 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.574, allocations: 33.17 kB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.574, allocations: 8.797 kB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.5741, allocations: 111.8 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5741, allocations: 7.453 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.5741, allocations: 3.281 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5743, allocations: 132.3 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5743, allocations: 1.094 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5743, allocations: 1.594 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5743, allocations: 0 / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.5744, allocations: 94.25 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.5746, allocations: 142.3 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5747, allocations: 108 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.5748, allocations: 93.17 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.5748, allocations: 3.938 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.5748, allocations: 37.95 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5748, allocations: 0 / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003948/0.5752, allocations: 314.2 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5752, allocations: 80.14 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5753, allocations: 151.2 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5753, allocations: 31.17 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.5754, allocations: 93.81 kB / 0.8223 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.5754, allocations: 15.75 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.5754, allocations: 29.81 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.5755, allocations: 317.7 kB / 0.8226 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.5757, allocations: 166.3 kB / 0.8228 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5758, allocations: 169.7 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.576, allocations: 288.8 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.576, allocations: 1.219 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003515/0.5764, allocations: 393.8 kB / 0.8236 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.5764, allocations: 67.83 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5764, allocations: 5.625 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5765, allocations: 0.7031 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.5765, allocations: 3.938 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5765, allocations: 3.938 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.5766, allocations: 16.03 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5766, allocations: 3.906 kB / 0.8237 GB, free: 13.09 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: 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 9.061e-05/0.5767, allocations: 156.2 kB / 0.8238 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.5767, allocations: 12.42 kB / 0.8238 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.5767, allocations: 6.891 kB / 0.8238 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5767, allocations: 0 / 0.8238 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5767, allocations: 5.094 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5767, allocations: 0.7031 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.5768, allocations: 139 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5768, allocations: 9 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.5768, allocations: 0.6562 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5768, allocations: 1.531 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5768, allocations: 2.094 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5768, allocations: 0 / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5768, allocations: 1.594 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.5771, allocations: 257.8 kB / 0.8242 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.5771, allocations: 15.08 kB / 0.8242 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.5771, allocations: 2.797 kB / 0.8243 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.5771, allocations: 3.719 kB / 0.8243 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.5772, allocations: 11.38 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5772, allocations: 2.5 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.5773, allocations: 112.4 kB / 0.8244 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5773, allocations: 0 / 0.8244 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002153/0.5775, allocations: 70.02 kB / 0.8244 GB, free: 12.48 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: 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.0006076/0.5781, allocations: 0.8357 MB / 0.8253 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.5785, allocations: 424.2 kB / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5785, allocations: 0 / 0.8257 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.5786, allocations: 158.6 kB / 0.8258 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.5788, allocations: 6.5 kB / 0.8258 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.5811, allocations: 2.435 MB / 0.8282 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.5811, allocations: 74.72 kB / 0.8283 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.885e-06/0.5811, allocations: 4.594 kB / 0.8283 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.5812, allocations: 18.23 kB / 0.8283 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5812, allocations: 0 / 0.8283 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.6025, allocations: 3.9 MB / 0.8321 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.418, allocations: 6.25 kB / 0.8321 GB, free: 8.707 MB / 0.6198 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: 10.55741340201348] Failed to read output from testmodel.py, exit status != 0: 7.499186314176768 7.508540083 6.93309863 Calling exit ...