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.001293/0.001293, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001335/0.001335, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.489/1.489, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001971/0.001971, allocations: 75.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1152, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003679/0.1188, allocations: 2.28 MB / 429.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004316/0.1193, allocations: 195.3 kB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.1194, allocations: 4 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.366e-05/0.1194, allocations: 35.64 kB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1196, allocations: 71.34 kB / 429.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.1198, allocations: 51.94 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1201, allocations: 235 kB / 429.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1203, allocations: 78.61 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1204, allocations: 91.72 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1205, allocations: 103.5 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1206, allocations: 20 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.1206, allocations: 24 kB / 430.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1207, allocations: 51.78 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1208, allocations: 111.5 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1211, allocations: 258.9 kB / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1211, allocations: 0 / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1211, allocations: 0 / 430.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1211, allocations: 3.938 kB / 430.6 MB, free: 1.207 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.0007858/0.1219, allocations: 0.5068 MB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1219, allocations: 12.03 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.122, allocations: 58.72 kB / 431.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1221, allocations: 24.8 kB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1223, allocations: 218.5 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1223, allocations: 16.94 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.1224, allocations: 28.33 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1227, allocations: 232.8 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1228, allocations: 7.938 kB / 431.7 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1228, allocations: 8.109 kB / 431.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1228, allocations: 11.94 kB / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1231, allocations: 135.8 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1243, allocations: 0.8596 MB / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1245, allocations: 155.7 kB / 432.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.1246, allocations: 54.56 kB / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1246, allocations: 4 kB / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1247, allocations: 42.48 kB / 432.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.1247, allocations: 0 / 432.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004067/0.1251, allocations: 173.7 kB / 433.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.1252, allocations: 106.8 kB / 433.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1254, allocations: 194.7 kB / 433.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1254, allocations: 25.7 kB / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1255, allocations: 168.1 kB / 433.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.1256, allocations: 63.47 kB / 433.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.1257, allocations: 53.94 kB / 433.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1259, allocations: 326.8 kB / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.126, allocations: 52.53 kB / 434.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1262, allocations: 158.7 kB / 434.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.1265, allocations: 217.5 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1265, allocations: 0 / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003982/0.1269, allocations: 249.8 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1269, allocations: 11.94 kB / 434.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1269, allocations: 0 / 434.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.1269, allocations: 8.438 kB / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1271, allocations: 67.91 kB / 434.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1271, allocations: 4.156 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1273, allocations: 27.8 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1273, allocations: 15.98 kB / 434.8 MB, free: 12.57 MB / 366.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.0001496/0.1275, allocations: 141.7 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.1275, allocations: 19.84 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.1276, allocations: 25.39 kB / 435 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1276, allocations: 4 kB / 435 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1276, allocations: 4 kB / 435 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1276, allocations: 3.938 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1282, allocations: 424.8 kB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1282, allocations: 4 kB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.1284, allocations: 35.98 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1284, allocations: 4 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1285, allocations: 4 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1285, allocations: 8.094 kB / 435.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1285, allocations: 3.938 kB / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.1289, allocations: 383.5 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.129, allocations: 93.05 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.129, allocations: 12 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1292, allocations: 0 / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1292, allocations: 23.86 kB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1292, allocations: 4 kB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1293, allocations: 140.4 kB / 436.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 436.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1297, allocations: 55.89 kB / 436.2 MB, free: 11.09 MB / 366.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.0008077/0.1305, allocations: 0.9077 MB / 437.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1308, allocations: 135.9 kB / 437.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1308, allocations: 0 / 437.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.1309, allocations: 59.8 kB / 437.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.1314, allocations: 27.92 kB / 437.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.1345, allocations: 2.558 MB / 439.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.135, allocations: 0.7359 MB / 440.6 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.771e-05/0.1351, allocations: 17.95 kB / 440.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1352, allocations: 55.42 kB / 440.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1352, allocations: 3.938 kB / 440.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1645, allocations: 3.777 MB / 444.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.231, allocations: 12.25 kB / 444.5 MB, free: 2.672 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: 10.87818339606747] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.s', 'inertia2.v', 'mass1.s', 'mass1.v'] 8.300873951986432 8.498273274 8.374640464 Calling exit ...