Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 249.8 MB, free: 9.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 210.8 kB / 306 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04107/0.04107, allocations: 8.915 MB / 371 MB, free: 3.418 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 91.8 kB / 495.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.286, allocations: 55.56 MB / 0.5384 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002007/0.288, allocations: 1.269 MB / 0.5396 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2896, allocations: 1.241 MB / 0.5408 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.2897, allocations: 4 kB / 0.5408 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.2901, allocations: 77.44 kB / 0.5409 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000939/0.2911, allocations: 424.8 kB / 0.5413 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.848e-06/0.2911, allocations: 0 / 0.5413 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009299/0.292, allocations: 0.8167 MB / 0.5421 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.292, allocations: 6.656 kB / 0.5421 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.2921, allocations: 7 kB / 0.5421 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.2921, allocations: 14.17 kB / 0.5421 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.2921, allocations: 4 kB / 0.5421 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2922, allocations: 52.39 kB / 0.5422 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.2923, allocations: 24.09 kB / 0.5422 GB, free: 24.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.2923, allocations: 22.92 kB / 0.5422 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2924, allocations: 72.89 kB / 0.5423 GB, free: 24.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2925, allocations: 0 / 0.5423 GB, free: 24.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2925, allocations: 0 / 0.5423 GB, free: 24.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2925, allocations: 0 / 0.5423 GB, free: 24.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000301/0.2928, allocations: 391.3 kB / 0.5427 GB, free: 24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2928, allocations: 9.5 kB / 0.5427 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.2928, allocations: 110 kB / 0.5428 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.2932, allocations: 103.2 kB / 0.5429 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.2936, allocations: 387.7 kB / 0.5432 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2936, allocations: 150.9 kB / 0.5434 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.2936, allocations: 158.3 kB / 0.5435 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.336e-05/0.2937, allocations: 109 kB / 0.5436 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2937, allocations: 75.28 kB / 0.5437 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2937, allocations: 150.6 kB / 0.5439 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2937, allocations: 153.8 kB / 0.544 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.2937, allocations: 154.6 kB / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2939, allocations: 466.2 kB / 0.5446 GB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.2939, allocations: 173.1 kB / 0.5448 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.294, allocations: 80.14 kB / 0.5448 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.294, allocations: 75.28 kB / 0.5449 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.294, allocations: 113.8 kB / 0.545 GB, free: 21.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.294, allocations: 3.062 kB / 0.545 GB, free: 21.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.533e-05/0.2941, allocations: 32.81 kB / 0.5451 GB, free: 21.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.2941, allocations: 130.6 kB / 0.5452 GB, free: 21.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2942, allocations: 164.1 kB / 0.5453 GB, free: 21.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.2942, allocations: 25.7 kB / 0.5454 GB, free: 21.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.2943, allocations: 106.2 kB / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.2943, allocations: 0 / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.2943, allocations: 17 kB / 0.5455 GB, free: 21.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.2943, allocations: 321.5 kB / 0.5458 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-06/0.2943, allocations: 0 / 0.5458 GB, free: 20.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.2943, allocations: 0 / 0.5458 GB, free: 20.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.374e-05/0.2943, allocations: 75.28 kB / 0.5459 GB, free: 20.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.2943, allocations: 75.28 kB / 0.5459 GB, free: 20.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.796e-05/0.2944, allocations: 39.88 kB / 0.546 GB, free: 20.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2944, allocations: 82.47 kB / 0.546 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2944, allocations: 82.34 kB / 0.5461 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.2945, allocations: 150.6 kB / 0.5463 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-06/0.2945, allocations: 82.55 kB / 0.5463 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.2945, allocations: 153.7 kB / 0.5465 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.2945, allocations: 83.33 kB / 0.5466 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2945, allocations: 83.22 kB / 0.5467 GB, free: 19.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 5.553e-05/0.2946, allocations: 266.3 kB / 0.5469 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2946, allocations: 123.4 kB / 0.547 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.2947, allocations: 119.4 kB / 0.5471 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.2947, allocations: 176.3 kB / 0.5473 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/0.2947, allocations: 183.4 kB / 0.5475 GB, free: 19.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.2947, allocations: 187.7 kB / 0.5477 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2948, allocations: 416.9 kB / 0.5481 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.2949, allocations: 108.1 kB / 0.5482 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.2949, allocations: 108.9 kB / 0.5483 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/0.2949, allocations: 176.3 kB / 0.5484 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2949, allocations: 184.2 kB / 0.5486 GB, free: 17.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/0.2949, allocations: 182.7 kB / 0.5488 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/0.295, allocations: 180.2 kB / 0.549 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.676e-05/0.295, allocations: 309.2 kB / 0.5492 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.2951, allocations: 201.1 kB / 0.5494 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2951, allocations: 176.3 kB / 0.5496 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.2952, allocations: 116.1 kB / 0.5497 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.2952, allocations: 179.7 kB / 0.5499 GB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2952, allocations: 101.5 kB / 0.55 GB, free: 16.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.2952, allocations: 131.6 kB / 0.5501 GB, free: 16.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2952, allocations: 4 kB / 0.5501 GB, free: 16.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2955, allocations: 3.094 kB / 0.5501 GB, free: 16.27 MB / 382.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 (0): * Single equations (assignments): 0 * 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.0002492/0.2957, allocations: 0.8143 MB / 0.5509 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.338e-05/0.2958, allocations: 0 / 0.5509 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2958, allocations: 4 kB / 0.5509 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2958, allocations: 4 kB / 0.5509 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2961, allocations: 469.5 kB / 0.5514 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008925/0.297, allocations: 1.792 MB / 0.5531 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2971, allocations: 0.6974 MB / 0.5538 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.2972, allocations: 9.734 kB / 0.5538 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.2972, allocations: 15.44 kB / 0.5538 GB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2972, allocations: 3.938 kB / 0.5538 GB, free: 12.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3197, allocations: 1.792 MB / 0.5556 GB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.485, allocations: 11.98 kB / 0.5556 GB, free: 12.21 MB / 382.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.107391319994349] Failed to read output from testmodel.py, exit status != 0: 8.551217081010691 8.566771716 8.270926054 Calling exit ...