Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001378/0.001378, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001504/0.001504, allocations: 222.3 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 230.2 MB / 256.1 MB, free: 8.605 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1992/0.1992, allocations: 46.89 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00223/0.00223, allocations: 79.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2567, allocations: 65.98 MB / 0.5584 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002989/0.2597, allocations: 2.092 MB / 0.5605 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.2606, allocations: 0.6127 MB / 0.5611 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.2607, allocations: 4 kB / 0.5611 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.2608, allocations: 19.78 kB / 0.5611 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.2609, allocations: 39.58 kB / 0.5611 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.2612, allocations: 75.89 kB / 0.5612 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2614, allocations: 191.2 kB / 0.5614 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2615, allocations: 39.09 kB / 0.5614 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2617, allocations: 87.7 kB / 0.5615 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2618, allocations: 79.67 kB / 0.5616 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.2618, allocations: 16 kB / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.018e-05/0.2619, allocations: 16 kB / 0.5616 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.2619, allocations: 35.89 kB / 0.5616 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.262, allocations: 79.59 kB / 0.5617 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2622, allocations: 179.3 kB / 0.5619 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2622, allocations: 4 kB / 0.5619 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2622, allocations: 0 / 0.5619 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2622, allocations: 0 / 0.5619 GB, free: 1.594 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007192/0.2629, allocations: 462.9 kB / 0.5623 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.263, allocations: 8.031 kB / 0.5623 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.263, allocations: 50.67 kB / 0.5624 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2632, allocations: 28.84 kB / 0.5624 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.2634, allocations: 208.7 kB / 0.5626 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2634, allocations: 8.609 kB / 0.5626 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2635, allocations: 19.88 kB / 0.5626 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.2638, allocations: 165.8 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2638, allocations: 3.953 kB / 0.5628 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2638, allocations: 8 kB / 0.5628 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2638, allocations: 4 kB / 0.5628 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2641, allocations: 107.9 kB / 0.5629 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.265, allocations: 0.6883 MB / 0.5636 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2653, allocations: 130.5 kB / 0.5637 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2654, allocations: 64.7 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2654, allocations: 0 / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2655, allocations: 42.56 kB / 0.5638 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.91e-07/0.2655, allocations: 0 / 0.5638 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001269/0.2667, allocations: 401.2 kB / 0.5642 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2668, allocations: 59.41 kB / 0.5642 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2669, allocations: 154.2 kB / 0.5644 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2669, allocations: 25.7 kB / 0.5644 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.267, allocations: 120.4 kB / 0.5645 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.2671, allocations: 67.44 kB / 0.5646 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.2671, allocations: 33.7 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2672, allocations: 330.8 kB / 0.5649 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2674, allocations: 63.95 kB / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2676, allocations: 107.3 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.268, allocations: 175.1 kB / 0.5653 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.268, allocations: 0 / 0.5653 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000463/0.2685, allocations: 213.4 kB / 0.5655 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2685, allocations: 12.08 kB / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2685, allocations: 4 kB / 0.5655 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2685, allocations: 0 / 0.5655 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.2688, allocations: 55.84 kB / 0.5655 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2688, allocations: 4 kB / 0.5655 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.269, allocations: 11.98 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.269, allocations: 8 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001056/0.2691, allocations: 129.8 kB / 0.5657 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2691, allocations: 15.91 kB / 0.5657 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.2692, allocations: 25.11 kB / 0.5657 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2692, allocations: 11.92 kB / 0.5657 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2692, allocations: 0 / 0.5657 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2692, allocations: 0 / 0.5657 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.2701, allocations: 0.6161 MB / 0.5663 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2701, allocations: 7.875 kB / 0.5664 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.2704, allocations: 43.95 kB / 0.5664 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2704, allocations: 4 kB / 0.5664 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2704, allocations: 7.938 kB / 0.5664 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2704, allocations: 0 / 0.5664 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2704, allocations: 0 / 0.5664 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.2709, allocations: 306.2 kB / 0.5667 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.271, allocations: 105 kB / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.271, allocations: 4 kB / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2712, allocations: 11.98 kB / 0.5668 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.2712, allocations: 15.98 kB / 0.5668 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2713, allocations: 12 kB / 0.5668 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.2713, allocations: 116.1 kB / 0.5669 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2713, allocations: 0 / 0.5669 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.2716, allocations: 40 kB / 0.567 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 19 * 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.0007636/0.2724, allocations: 0.8333 MB / 0.5678 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.2728, allocations: 162.2 kB / 0.568 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2728, allocations: 0 / 0.568 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.273, allocations: 80.08 kB / 0.568 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2733, allocations: 27.94 kB / 0.5681 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.2759, allocations: 2.043 MB / 0.5701 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2762, allocations: 0.7132 MB / 0.5708 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.2763, allocations: 29.41 kB / 0.5708 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2764, allocations: 47.42 kB / 0.5708 GB, free: 7.902 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2764, allocations: 0 / 0.5708 GB, free: 7.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.3023, allocations: 3.72 MB / 0.5745 GB, free: 4.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.389, allocations: 3.938 kB / 0.5745 GB, free: 4.254 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199601 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.89716367899382]