Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 115.7 kB / 18.44 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 209.7 kB / 21.4 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.529/1.529, allocations: 227.7 MB / 251.9 MB, free: 15.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 76 kB / 365.2 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 50.54 MB / 415.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003443/0.1067, allocations: 2.286 MB / 418 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.1071, allocations: 183.3 kB / 418.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.1072, allocations: 4 kB / 418.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.1073, allocations: 43.64 kB / 418.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1074, allocations: 63.41 kB / 418.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1076, allocations: 55.92 kB / 418.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1079, allocations: 230.9 kB / 418.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1081, allocations: 110.6 kB / 418.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1082, allocations: 87.72 kB / 418.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1084, allocations: 107.5 kB / 418.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.1084, allocations: 20 kB / 418.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.694e-05/0.1085, allocations: 28 kB / 418.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.1086, allocations: 47.78 kB / 419 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1087, allocations: 111.5 kB / 419.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.109, allocations: 254.9 kB / 419.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.109, allocations: 0 / 419.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.109, allocations: 0 / 419.3 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.109, allocations: 0 / 419.3 MB, free: 10 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007608/0.1098, allocations: 0.5107 MB / 419.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1098, allocations: 12.03 kB / 419.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.1099, allocations: 50.73 kB / 419.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.1099, allocations: 28.73 kB / 419.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1102, allocations: 228 kB / 420.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1102, allocations: 12.94 kB / 420.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.1103, allocations: 28.33 kB / 420.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1107, allocations: 236.8 kB / 420.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1107, allocations: 7.938 kB / 420.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1107, allocations: 4 kB / 420.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1107, allocations: 8 kB / 420.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.111, allocations: 134.1 kB / 420.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1121, allocations: 0.8558 MB / 421.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1124, allocations: 159.7 kB / 421.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1125, allocations: 66.48 kB / 421.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1125, allocations: 4 kB / 421.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1126, allocations: 38.5 kB / 421.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.306e-06/0.1126, allocations: 4 kB / 421.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000378/0.113, allocations: 166.2 kB / 421.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.113, allocations: 114.8 kB / 422 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1132, allocations: 198.7 kB / 422.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1133, allocations: 25.7 kB / 422.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1134, allocations: 168.1 kB / 422.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.1135, allocations: 63.47 kB / 422.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.1135, allocations: 45.95 kB / 422.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1137, allocations: 334.8 kB / 422.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.1138, allocations: 48.55 kB / 422.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.114, allocations: 162.7 kB / 423 MB, free: 5.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.1142, allocations: 217.5 kB / 423.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1143, allocations: 4 kB / 423.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003664/0.1146, allocations: 245.2 kB / 423.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1146, allocations: 4 kB / 423.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1147, allocations: 4.438 kB / 423.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1147, allocations: 8 kB / 423.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1149, allocations: 55.92 kB / 423.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1149, allocations: 11.94 kB / 423.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.115, allocations: 35.78 kB / 423.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1151, allocations: 12 kB / 423.6 MB, free: 5.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.000119/0.1152, allocations: 137.7 kB / 423.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.1153, allocations: 23.84 kB / 423.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1153, allocations: 21.41 kB / 423.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1153, allocations: 3.984 kB / 423.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1154, allocations: 8 kB / 423.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1154, allocations: 0 / 423.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1159, allocations: 420.8 kB / 424.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1159, allocations: 0 / 424.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1161, allocations: 47.92 kB / 424.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1161, allocations: 7.984 kB / 424.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1161, allocations: 96 / 424.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1161, allocations: 8 kB / 424.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1162, allocations: 0 / 424.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.1165, allocations: 385 kB / 424.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.1166, allocations: 93.02 kB / 424.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.1167, allocations: 12.03 kB / 424.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1168, allocations: 0 / 424.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1168, allocations: 19.92 kB / 424.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1168, allocations: 4 kB / 424.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.117, allocations: 136.4 kB / 424.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.117, allocations: 0 / 424.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.1173, allocations: 51.89 kB / 424.9 MB, free: 3.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0007038/0.118, allocations: 0.9184 MB / 425.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.1183, allocations: 147.8 kB / 426 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1183, allocations: 0 / 426 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.1184, allocations: 55.86 kB / 426.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1189, allocations: 30.7 kB / 426.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.1217, allocations: 2.553 MB / 428.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1221, allocations: 0.7359 MB / 429.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.462e-05/0.1222, allocations: 29.92 kB / 429.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1223, allocations: 51.42 kB / 429.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1223, allocations: 0 / 429.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1485, allocations: 3.737 MB / 433.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.168, allocations: 22.36 kB / 433.2 MB, free: 11.47 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.22062841092702] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.s', 'inertia2.v', 'mass1.s', 'mass1.v'] 8.235274207079783 8.435932527 8.138154432 Calling exit ...