Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.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.001455/0.001455, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001644/0.001644, allocations: 217.6 kB / 22.92 MB, free: 5.195 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.316/1.316, allocations: 230.2 MB / 256.2 MB, free: 8.629 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.2033/0.2033, allocations: 46.89 MB / 359.3 MB, free: 5.004 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.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState",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.002122/0.002122, allocations: 83.86 kB / 0.494 GB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2602, allocations: 65.98 MB / 0.5584 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002506/0.2627, allocations: 1.572 MB / 0.5599 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.263, allocations: 75.72 kB / 0.56 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.263, allocations: 0 / 0.56 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.252e-05/0.2631, allocations: 3.938 kB / 0.56 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.2631, allocations: 7.938 kB / 0.56 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.2633, allocations: 27.89 kB / 0.56 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.2634, allocations: 39.8 kB / 0.5601 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.2634, allocations: 5.828 kB / 0.5601 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.2635, allocations: 15.92 kB / 0.5601 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.2635, allocations: 11.94 kB / 0.5601 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2635, allocations: 8 kB / 0.5601 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.2636, allocations: 4 kB / 0.5601 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2636, allocations: 11.97 kB / 0.5601 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.2636, allocations: 15.88 kB / 0.5602 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.099e-05/0.2637, allocations: 35.78 kB / 0.5602 GB, free: 3.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2637, allocations: 0 / 0.5602 GB, free: 3.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2637, allocations: 0 / 0.5602 GB, free: 3.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2637, allocations: 0 / 0.5602 GB, free: 3.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000419/0.2641, allocations: 351.3 kB / 0.5605 GB, free: 2.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2642, allocations: 16.03 kB / 0.5605 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2642, allocations: 42.67 kB / 0.5606 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.2642, allocations: 8.891 kB / 0.5606 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2644, allocations: 168.4 kB / 0.5607 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2644, allocations: 8.375 kB / 0.5608 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2644, allocations: 4.375 kB / 0.5608 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2646, allocations: 68.81 kB / 0.5608 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2646, allocations: 7.938 kB / 0.5608 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.2646, allocations: 0 / 0.5608 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2646, allocations: 3.938 kB / 0.5608 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.2647, allocations: 23.98 kB / 0.5609 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.2651, allocations: 449.1 kB / 0.5613 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2653, allocations: 46.56 kB / 0.5613 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.2653, allocations: 12.94 kB / 0.5613 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2654, allocations: 0 / 0.5613 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2654, allocations: 34.56 kB / 0.5614 GB, free: 1.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2654, allocations: 0 / 0.5614 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004021/0.2658, allocations: 113.5 kB / 0.5615 GB, free: 1.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2658, allocations: 55.41 kB / 0.5615 GB, free: 1.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.2659, allocations: 110.1 kB / 0.5616 GB, free: 1.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2659, allocations: 29.7 kB / 0.5617 GB, free: 1.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.266, allocations: 92.08 kB / 0.5618 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.266, allocations: 23.86 kB / 0.5618 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.266, allocations: 21.66 kB / 0.5618 GB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2662, allocations: 334.7 kB / 0.5621 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.2662, allocations: 15.98 kB / 0.5621 GB, free: 1.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.2663, allocations: 31.44 kB / 0.5622 GB, free: 1.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.2664, allocations: 67.34 kB / 0.5622 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2664, allocations: 0 / 0.5622 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001553/0.2665, allocations: 85.89 kB / 0.5623 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2665, allocations: 4 kB / 0.5623 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2665, allocations: 0 / 0.5623 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2666, allocations: 4 kB / 0.5623 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.2666, allocations: 8.047 kB / 0.5623 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2666, allocations: 8.016 kB / 0.5623 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.2667, allocations: 11.98 kB / 0.5623 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2667, allocations: 8 kB / 0.5624 GB, free: 0.7969 MB / 398.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: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.403e-05/0.2667, allocations: 109.8 kB / 0.5625 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2668, allocations: 7.953 kB / 0.5625 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.2668, allocations: 7.906 kB / 0.5625 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2668, allocations: 4 kB / 0.5625 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2668, allocations: 0 / 0.5625 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2668, allocations: 0 / 0.5625 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.267, allocations: 169.6 kB / 0.5626 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.267, allocations: 7.984 kB / 0.5626 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.267, allocations: 12 kB / 0.5627 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.267, allocations: 0 / 0.5627 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.267, allocations: 4 kB / 0.5627 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.267, allocations: 0 / 0.5627 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.267, allocations: 0 / 0.5627 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.2673, allocations: 183.4 kB / 0.5628 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2673, allocations: 85.12 kB / 0.5629 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2673, allocations: 0 / 0.5629 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.2674, allocations: 4.031 kB / 0.5629 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.2674, allocations: 3.984 kB / 0.5629 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2674, allocations: 0 / 0.5629 GB, free: 116 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.2675, allocations: 95.2 kB / 0.563 GB, free: 20 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2675, allocations: 0 / 0.563 GB, free: 20 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.2677, allocations: 19.88 kB / 0.563 GB, free: 0 / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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.0005069/0.2682, allocations: 0.7046 MB / 0.5637 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2683, allocations: 31.97 kB / 0.5638 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2683, allocations: 7.938 kB / 0.5638 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.2684, allocations: 16.23 kB / 0.5638 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2686, allocations: 14.34 kB / 0.5638 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.27, allocations: 1.37 MB / 0.5651 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2703, allocations: 0.6885 MB / 0.5658 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.2703, allocations: 4 kB / 0.5658 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.2703, allocations: 15.44 kB / 0.5658 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2703, allocations: 0 / 0.5658 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.2922, allocations: 1.493 MB / 0.5673 GB, free: 11.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.245, allocations: 10.17 kB / 0.5673 GB, free: 11.57 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.778824353008531]