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.0007953/0.0007953, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008874/0.0008874, allocations: 223.7 kB / 22.26 MB, free: 3.703 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.809 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.8448/0.8448, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.001467/0.001467, allocations: 70.7 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5665, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001543/0.568, allocations: 0.6228 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.5696, allocations: 1.461 MB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.5697, allocations: 0 / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.5697, allocations: 4.734 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.5698, allocations: 0.6562 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.5705, allocations: 190.1 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.5706, allocations: 47.44 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.5707, allocations: 6.203 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.5707, allocations: 25.58 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.5708, allocations: 25.25 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.5708, allocations: 2.719 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.5712, allocations: 227.7 kB / 0.8204 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.5712, allocations: 15.03 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.5713, allocations: 25.36 kB / 0.8205 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.5716, allocations: 186.9 kB / 0.8207 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5716, allocations: 4 kB / 0.8207 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5716, allocations: 0.6094 kB / 0.8207 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.5716, allocations: 0 / 0.8207 GB, free: 15.58 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.0004228/0.572, allocations: 370.7 kB / 0.821 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.572, allocations: 7.531 kB / 0.821 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.5721, allocations: 32.44 kB / 0.8211 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.5721, allocations: 8.844 kB / 0.8211 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.196e-05/0.5722, allocations: 119.2 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5722, allocations: 2.75 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.5722, allocations: 3.125 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5724, allocations: 105.5 kB / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5724, allocations: 0 / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5724, allocations: 1.188 kB / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5724, allocations: 0 / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.5725, allocations: 60.75 kB / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.5726, allocations: 147 kB / 0.8215 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.5727, allocations: 84.78 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.5728, allocations: 68.28 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.5728, allocations: 0.8438 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5729, allocations: 34.5 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5729, allocations: 1.781 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003416/0.5732, allocations: 254 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5732, allocations: 84.69 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5734, allocations: 148.7 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5734, allocations: 26.83 kB / 0.8222 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.5734, allocations: 104.6 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.5734, allocations: 7.5 kB / 0.8223 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.5735, allocations: 28.81 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.5736, allocations: 319.5 kB / 0.8226 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5737, allocations: 101.1 kB / 0.8227 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.5738, allocations: 105.9 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.574, allocations: 274.2 kB / 0.8231 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.574, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002713/0.5743, allocations: 329.3 kB / 0.8234 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.5743, allocations: 75.22 kB / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5743, allocations: 0 / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5744, allocations: 2.438 kB / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.5744, allocations: 0 / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5744, allocations: 1.406 kB / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.5745, allocations: 14.19 kB / 0.8235 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5745, allocations: 2.875 kB / 0.8235 GB, free: 13.59 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.038e-05/0.5746, allocations: 152.9 kB / 0.8236 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.5746, allocations: 14.55 kB / 0.8236 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.5746, allocations: 8.484 kB / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5746, allocations: 0 / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5747, allocations: 4 kB / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5747, allocations: 1.766 kB / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.825e-05/0.5747, allocations: 142.6 kB / 0.8238 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5748, allocations: 5.719 kB / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.5748, allocations: 0 / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5748, allocations: 0 / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5748, allocations: 3.75 kB / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5748, allocations: 0 / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5748, allocations: 4.609 kB / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.575, allocations: 232.4 kB / 0.824 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.575, allocations: 10.89 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.575, allocations: 2.906 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.5751, allocations: 8.141 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.5751, allocations: 14.61 kB / 0.824 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.5751, allocations: 2.25 kB / 0.824 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.5752, allocations: 113.1 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5752, allocations: 0 / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002682/0.5754, allocations: 66 kB / 0.8242 GB, free: 13.02 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.0005931/0.576, allocations: 0.8053 MB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.5764, allocations: 335.9 kB / 0.8253 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5764, allocations: 0 / 0.8253 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.5765, allocations: 126.2 kB / 0.8254 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5767, allocations: 3.438 kB / 0.8254 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.5786, allocations: 2.13 MB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.5788, allocations: 0.6918 MB / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.432e-06/0.5788, allocations: 0 / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.5789, allocations: 17.75 kB / 0.8282 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.5789, allocations: 0 / 0.8282 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.6008, allocations: 3.435 MB / 0.8316 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/7.186, allocations: 4 kB / 0.8316 GB, free: 9.531 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.374406469985843] Failed to read output from testmodel.py, exit status != 0: 7.266791871050373 7.280662731 6.70610077 Calling exit ...