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.001447/0.001447, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001846/0.001846, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001883/0.001883, allocations: 68.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003415/0.2673, allocations: 2.281 MB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004113/0.2677, allocations: 203.2 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.2678, allocations: 11.94 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.511e-05/0.2678, allocations: 35.64 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.268, allocations: 59.42 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.2682, allocations: 47.94 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.2684, allocations: 231 kB / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2686, allocations: 85.12 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2687, allocations: 95.7 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2689, allocations: 103.5 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.2689, allocations: 20 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.269, allocations: 24 kB / 435.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.269, allocations: 47.78 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2691, allocations: 115.5 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.2694, allocations: 254.9 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2694, allocations: 0 / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2694, allocations: 4 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2694, allocations: 0 / 435.5 MB, free: 3.312 MB / 334.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.0007051/0.2701, allocations: 445.8 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2702, allocations: 8.031 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.2702, allocations: 62.72 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.2703, allocations: 24.8 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.2705, allocations: 158.2 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2705, allocations: 24.81 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.2706, allocations: 24.33 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.2709, allocations: 228.1 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2709, allocations: 3.938 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.271, allocations: 12 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.271, allocations: 4 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.2712, allocations: 139.9 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2724, allocations: 0.817 MB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.2726, allocations: 159.8 kB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.2727, allocations: 58.56 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2727, allocations: 0 / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2727, allocations: 50.44 kB / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.2727, allocations: 0 / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003951/0.2731, allocations: 166.2 kB / 437.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.2732, allocations: 106.8 kB / 438 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2734, allocations: 197.1 kB / 438.1 MB, free: 448 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2734, allocations: 25.7 kB / 438.2 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2735, allocations: 164.2 kB / 438.3 MB, free: 248 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.2736, allocations: 67.41 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.2737, allocations: 61.94 kB / 438.5 MB, free: 108 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2738, allocations: 322.8 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.2739, allocations: 48.53 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2741, allocations: 163.6 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.2744, allocations: 221.6 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2744, allocations: 4 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003679/0.2748, allocations: 241.5 kB / 439.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2748, allocations: 8 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2748, allocations: 8 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2748, allocations: 4 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.2751, allocations: 59.92 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2751, allocations: 11.92 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2752, allocations: 35.92 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2752, allocations: 8 kB / 439.6 MB, free: 14.88 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.0001381/0.2754, allocations: 145.7 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.2754, allocations: 23.83 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.2755, allocations: 29.39 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2755, allocations: 4 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2755, allocations: 0 / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2755, allocations: 0 / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.2761, allocations: 395.9 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2761, allocations: 3.984 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2763, allocations: 36.08 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2763, allocations: 4 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2763, allocations: 11.94 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2763, allocations: 3.938 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2763, allocations: 4 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.2767, allocations: 377.5 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.2768, allocations: 23.88 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.2768, allocations: 8 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2769, allocations: 4 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.277, allocations: 15.92 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.277, allocations: 4 kB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.2771, allocations: 147.4 kB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.2774, allocations: 55.89 kB / 440.8 MB, free: 13.52 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.0007107/0.2781, allocations: 0.9132 MB / 441.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2784, allocations: 127.8 kB / 441.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2784, allocations: 0 / 441.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.2785, allocations: 56.33 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.279, allocations: 33.28 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.2819, allocations: 2.569 MB / 444.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.2823, allocations: 0.7398 MB / 445.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.905e-05/0.2824, allocations: 17.95 kB / 445.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.2825, allocations: 55.42 kB / 445.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2825, allocations: 0 / 445.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.3176, allocations: 3.91 MB / 449.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.176, allocations: 14.89 kB / 449.3 MB, free: 4.941 MB / 350.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.577679071109742] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.s', 'inertia2.v', 'mass1.s', 'mass1.v'] 8.245508247055113 8.26039189 7.987977958 Calling exit ...