Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9123/0.9123, allocations: 133.9 MB / 436.6 MB, free: 13.54 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 75.88 kB / 0.6052 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4595, allocations: 84.68 MB / 0.6878 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001662/0.4612, allocations: 0.6315 MB / 0.6885 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003836/0.4615, allocations: 203.1 kB / 0.6887 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.4616, allocations: 1.375 kB / 0.6887 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.4616, allocations: 3.938 kB / 0.6887 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.4618, allocations: 5.344 kB / 0.6887 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.462, allocations: 71.47 kB / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.462, allocations: 30.31 kB / 0.6888 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.4621, allocations: 1.375 kB / 0.6888 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.4621, allocations: 21.23 kB / 0.6888 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.4622, allocations: 22.81 kB / 0.6888 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4622, allocations: 1.531 kB / 0.6888 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.4624, allocations: 110.1 kB / 0.6889 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.4624, allocations: 5.281 kB / 0.6889 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.4624, allocations: 20.06 kB / 0.6889 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.4626, allocations: 104.2 kB / 0.689 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4626, allocations: 0 / 0.689 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4626, allocations: 1.062 kB / 0.689 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4626, allocations: 0 / 0.689 GB, free: 0.9219 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004761/0.4631, allocations: 379.2 kB / 0.6894 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4631, allocations: 9.062 kB / 0.6894 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.4632, allocations: 31.88 kB / 0.6894 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.4632, allocations: 3.156 kB / 0.6894 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4633, allocations: 181 kB / 0.6896 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4633, allocations: 384 / 0.6896 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.4633, allocations: 2.906 kB / 0.6896 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4634, allocations: 55.98 kB / 0.6897 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4635, allocations: 7.938 kB / 0.6897 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.4635, allocations: 1.25 kB / 0.6897 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4635, allocations: 3.984 kB / 0.6897 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.4636, allocations: 32.97 kB / 0.6897 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.4639, allocations: 250.4 kB / 0.69 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.4641, allocations: 73.31 kB / 0.69 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.4642, allocations: 24.53 kB / 0.6901 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4642, allocations: 1.125 kB / 0.6901 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4642, allocations: 31.84 kB / 0.6901 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4642, allocations: 0 / 0.6901 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.02769/0.4919, allocations: 1.62 MB / 0.6917 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.492, allocations: 52.88 kB / 0.6917 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4921, allocations: 116 kB / 0.6918 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.4922, allocations: 31.05 kB / 0.6919 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.4922, allocations: 89.41 kB / 0.6919 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.4923, allocations: 34.89 kB / 0.692 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.4925, allocations: 24.64 kB / 0.692 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4926, allocations: 321.2 kB / 0.6923 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.4931, allocations: 141.9 kB / 0.6924 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.4936, allocations: 136.2 kB / 0.6926 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.4945, allocations: 304.2 kB / 0.6929 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4945, allocations: 0 / 0.6929 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001129/0.4957, allocations: 336.2 kB / 0.6932 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4957, allocations: 9.5 kB / 0.6932 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4957, allocations: 0 / 0.6932 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4957, allocations: 5.359 kB / 0.6932 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.4972, allocations: 58.22 kB / 0.6932 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4972, allocations: 3.938 kB / 0.6933 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4985, allocations: 47.41 kB / 0.6933 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.4986, allocations: 2.406 kB / 0.6933 GB, free: 13.97 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 0.0001878/0.4988, allocations: 121.1 kB / 0.6934 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.4988, allocations: 2.469 kB / 0.6934 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.499, allocations: 18.59 kB / 0.6934 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.499, allocations: 1.406 kB / 0.6934 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.499, allocations: 7.922 kB / 0.6934 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.499, allocations: 0 / 0.6934 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.5046, allocations: 0.8406 MB / 0.6943 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5046, allocations: 1.344 kB / 0.6943 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.5057, allocations: 56.22 kB / 0.6943 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5057, allocations: 1.375 kB / 0.6943 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.5057, allocations: 10.69 kB / 0.6943 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5057, allocations: 4.062 kB / 0.6943 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5057, allocations: 1.375 kB / 0.6943 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.5066, allocations: 321.1 kB / 0.6946 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.5067, allocations: 83.84 kB / 0.6947 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.5067, allocations: 13.38 kB / 0.6947 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.5077, allocations: 38.08 kB / 0.6948 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.5077, allocations: 6.688 kB / 0.6948 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.5077, allocations: 8.531 kB / 0.6948 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.5078, allocations: 100.9 kB / 0.6949 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5078, allocations: 0 / 0.6949 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003965/0.5082, allocations: 94.56 kB / 0.695 GB, free: 12.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.001397/0.5096, allocations: 0.8743 MB / 0.6958 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009517/0.5106, allocations: 238.7 kB / 0.6961 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5106, allocations: 0 / 0.6961 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.511, allocations: 95.62 kB / 0.6961 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.5112, allocations: 7.875 kB / 0.6962 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.5179, allocations: 2.681 MB / 0.6988 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5182, allocations: 0.687 MB / 0.6994 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.5187, allocations: 51.8 kB / 0.6995 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.5191, allocations: 21.95 kB / 0.6995 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.5191, allocations: 0 / 0.6995 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.5535, allocations: 9.801 MB / 0.7091 GB, free: 484 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/9.097, allocations: 7.281 kB / 0.7091 GB, free: 480 kB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.53901773225516] Failed to read output from testmodel.py, exit status != 0: 9.166090574115515 9.179708756 8.714302852 Calling exit ...