Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001326/0.001326, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.42/1.42, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001544/0.001544, allocations: 223.9 kB / 309.2 MB, free: 2.945 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.04108/0.04108, allocations: 8.919 MB / 374.6 MB, free: 1.723 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.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",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.002526/0.002526, allocations: 83.86 kB / 0.4891 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.286, allocations: 55.59 MB / 0.5434 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001921/0.2879, allocations: 1.275 MB / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2894, allocations: 1.132 MB / 0.5458 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.2894, allocations: 0 / 0.5458 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.2898, allocations: 83.77 kB / 0.5459 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.2906, allocations: 405.2 kB / 0.5462 GB, free: 24.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.2906, allocations: 0 / 0.5462 GB, free: 24.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.2917, allocations: 1.037 MB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.2918, allocations: 3.281 kB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.2918, allocations: 10.25 kB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.2918, allocations: 18.25 kB / 0.5473 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2918, allocations: 3.25 kB / 0.5473 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.2919, allocations: 45.45 kB / 0.5473 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.292, allocations: 27.75 kB / 0.5474 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.292, allocations: 18.08 kB / 0.5474 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2922, allocations: 75.45 kB / 0.5474 GB, free: 24.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2922, allocations: 0 / 0.5474 GB, free: 24.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2922, allocations: 0 / 0.5474 GB, free: 24.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2922, allocations: 0 / 0.5474 GB, free: 24.49 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.0002621/0.2924, allocations: 314.6 kB / 0.5477 GB, free: 24.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2925, allocations: 9.719 kB / 0.5478 GB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.2925, allocations: 110 kB / 0.5479 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.2928, allocations: 114 kB / 0.548 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2932, allocations: 327.7 kB / 0.5483 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2932, allocations: 154.9 kB / 0.5484 GB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2932, allocations: 154.9 kB / 0.5486 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.213e-05/0.2932, allocations: 111.6 kB / 0.5487 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2933, allocations: 75.28 kB / 0.5488 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.2933, allocations: 154.6 kB / 0.5489 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2933, allocations: 150.6 kB / 0.549 GB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.2933, allocations: 153.8 kB / 0.5492 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.2935, allocations: 437.7 kB / 0.5496 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.2935, allocations: 172.2 kB / 0.5498 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.2935, allocations: 80.14 kB / 0.5499 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2936, allocations: 75.28 kB / 0.5499 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2936, allocations: 117 kB / 0.55 GB, free: 21.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.2936, allocations: 0 / 0.55 GB, free: 21.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.006e-05/0.2936, allocations: 40.73 kB / 0.5501 GB, free: 21.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2937, allocations: 130.6 kB / 0.5502 GB, free: 21.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2938, allocations: 169.8 kB / 0.5504 GB, free: 21.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-06/0.2938, allocations: 25.7 kB / 0.5504 GB, free: 21.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.2938, allocations: 109.5 kB / 0.5505 GB, free: 21.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.2938, allocations: 0 / 0.5505 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.2938, allocations: 9.719 kB / 0.5505 GB, free: 21.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.2939, allocations: 324.6 kB / 0.5508 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.2939, allocations: 0 / 0.5508 GB, free: 21.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/0.2939, allocations: 0 / 0.5508 GB, free: 21.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.222e-05/0.2939, allocations: 79.28 kB / 0.5509 GB, free: 21.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.2939, allocations: 75.28 kB / 0.551 GB, free: 20.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.284e-05/0.294, allocations: 40.22 kB / 0.551 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.294, allocations: 85.22 kB / 0.5511 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.294, allocations: 79.22 kB / 0.5512 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.294, allocations: 157.8 kB / 0.5513 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.148e-05/0.294, allocations: 86.38 kB / 0.5514 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.2941, allocations: 150.6 kB / 0.5515 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.2941, allocations: 78.34 kB / 0.5516 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2941, allocations: 79.22 kB / 0.5517 GB, free: 20.21 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 6.448e-05/0.2942, allocations: 272.6 kB / 0.5519 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.2942, allocations: 115 kB / 0.552 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.2942, allocations: 123.4 kB / 0.5522 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.2943, allocations: 183.5 kB / 0.5523 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.2943, allocations: 183.5 kB / 0.5525 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.2943, allocations: 180.3 kB / 0.5527 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2944, allocations: 391.7 kB / 0.5531 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.2944, allocations: 104.9 kB / 0.5532 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.2945, allocations: 111.5 kB / 0.5533 GB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/0.2945, allocations: 180.2 kB / 0.5534 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.2945, allocations: 180.3 kB / 0.5536 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.071e-05/0.2945, allocations: 179.5 kB / 0.5538 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/0.2945, allocations: 180.2 kB / 0.554 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.814e-05/0.2946, allocations: 316.4 kB / 0.5543 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.2946, allocations: 112.1 kB / 0.5544 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2947, allocations: 179.6 kB / 0.5545 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.2947, allocations: 112 kB / 0.5546 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2947, allocations: 180.3 kB / 0.5548 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2948, allocations: 108.6 kB / 0.5549 GB, free: 16.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.2948, allocations: 123.7 kB / 0.555 GB, free: 16.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2948, allocations: 0 / 0.555 GB, free: 16.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.2951, allocations: 3.156 kB / 0.555 GB, free: 16.7 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.0001914/0.2953, allocations: 0.8181 MB / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.381e-05/0.2953, allocations: 7.062 kB / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2953, allocations: 4 kB / 0.5558 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2953, allocations: 4 kB / 0.5559 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.2956, allocations: 469.3 kB / 0.5563 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.2965, allocations: 1.82 MB / 0.5581 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.2966, allocations: 84.88 kB / 0.5582 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.2966, allocations: 10.59 kB / 0.5582 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2967, allocations: 18.5 kB / 0.5582 GB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2967, allocations: 0 / 0.5582 GB, free: 13.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.3264, allocations: 2.397 MB / 0.5605 GB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.24, allocations: 0 / 0.5605 GB, free: 12.79 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12_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_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.888289656024426] Failed to read output from testmodel.py, exit status != 0: 11.347495526075363 11.359598513 11.064785449 Calling exit ...