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.001798/0.001798, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.466/1.466, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001665/0.001665, allocations: 219 kB / 309.2 MB, free: 3.195 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.04234/0.04234, allocations: 8.918 MB / 374.6 MB, free: 1.945 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.003967/0.003967, allocations: 87.88 kB / 0.4892 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3154, allocations: 55.6 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001942/0.3174, allocations: 1.272 MB / 0.5447 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3189, allocations: 1.26 MB / 0.546 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.3189, allocations: 0 / 0.546 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3193, allocations: 85.36 kB / 0.5461 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3203, allocations: 424.9 kB / 0.5465 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.14e-06/0.3203, allocations: 0 / 0.5465 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3216, allocations: 0.8309 MB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.3216, allocations: 6.578 kB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.3216, allocations: 11.08 kB / 0.5473 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.3217, allocations: 14.28 kB / 0.5473 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3217, allocations: 0 / 0.5473 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3219, allocations: 52.58 kB / 0.5474 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.3219, allocations: 20.3 kB / 0.5474 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.322, allocations: 30.11 kB / 0.5474 GB, free: 24.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3222, allocations: 74.59 kB / 0.5475 GB, free: 24.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3222, allocations: 0 / 0.5475 GB, free: 24.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3222, allocations: 0 / 0.5475 GB, free: 24.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3222, allocations: 0 / 0.5475 GB, free: 24.48 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.0003395/0.3225, allocations: 310.5 kB / 0.5478 GB, free: 24.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3226, allocations: 6.594 kB / 0.5478 GB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.3226, allocations: 109.3 kB / 0.5479 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.323, allocations: 107.2 kB / 0.548 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.3235, allocations: 323.9 kB / 0.5483 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3235, allocations: 154.9 kB / 0.5484 GB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3235, allocations: 153.9 kB / 0.5486 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.757e-05/0.3236, allocations: 117 kB / 0.5487 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3236, allocations: 78.23 kB / 0.5488 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3236, allocations: 150.6 kB / 0.5489 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3237, allocations: 150.6 kB / 0.5491 GB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.3237, allocations: 150.6 kB / 0.5492 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.3239, allocations: 439.6 kB / 0.5496 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.3239, allocations: 169.1 kB / 0.5498 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.324, allocations: 84.14 kB / 0.5499 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.324, allocations: 75.28 kB / 0.5499 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.324, allocations: 109.8 kB / 0.55 GB, free: 21.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.324, allocations: 7.312 kB / 0.55 GB, free: 21.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.072e-05/0.3241, allocations: 32.91 kB / 0.5501 GB, free: 21.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3241, allocations: 126.7 kB / 0.5502 GB, free: 21.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3243, allocations: 157.1 kB / 0.5503 GB, free: 21.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.3243, allocations: 32.33 kB / 0.5504 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3243, allocations: 99.23 kB / 0.5505 GB, free: 21.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3243, allocations: 0 / 0.5505 GB, free: 21.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.3243, allocations: 13.66 kB / 0.5505 GB, free: 21.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.3244, allocations: 325.7 kB / 0.5508 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.3244, allocations: 0 / 0.5508 GB, free: 21.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-06/0.3244, allocations: 4.047 kB / 0.5508 GB, free: 21.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.33e-05/0.3244, allocations: 78.53 kB / 0.5509 GB, free: 21.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.3244, allocations: 75.28 kB / 0.5509 GB, free: 20.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.225e-05/0.3245, allocations: 44.38 kB / 0.551 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3245, allocations: 81.78 kB / 0.5511 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3245, allocations: 79.22 kB / 0.5511 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.193e-05/0.3246, allocations: 157.9 kB / 0.5513 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.284e-05/0.3246, allocations: 75.28 kB / 0.5514 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.613e-05/0.3246, allocations: 154.5 kB / 0.5515 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.3247, allocations: 75.28 kB / 0.5516 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3247, allocations: 82.31 kB / 0.5517 GB, free: 20.23 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 8.752e-05/0.3248, allocations: 278.6 kB / 0.5519 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.3248, allocations: 112.3 kB / 0.552 GB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3249, allocations: 115.8 kB / 0.5521 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.3249, allocations: 186.7 kB / 0.5523 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/0.3249, allocations: 176.3 kB / 0.5525 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.3249, allocations: 184.2 kB / 0.5527 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3251, allocations: 394.6 kB / 0.553 GB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.3251, allocations: 101 kB / 0.5531 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3251, allocations: 116.4 kB / 0.5533 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.601e-05/0.3251, allocations: 187.4 kB / 0.5534 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.3252, allocations: 180.2 kB / 0.5536 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/0.3252, allocations: 184.2 kB / 0.5538 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.539e-05/0.3252, allocations: 183.6 kB / 0.554 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.3253, allocations: 309 kB / 0.5542 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.3253, allocations: 115.9 kB / 0.5544 GB, free: 17.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.3254, allocations: 183.4 kB / 0.5545 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.3254, allocations: 104.9 kB / 0.5546 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3255, allocations: 183.4 kB / 0.5548 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3255, allocations: 101.5 kB / 0.5549 GB, free: 16.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.3255, allocations: 122.4 kB / 0.555 GB, free: 16.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3255, allocations: 3.938 kB / 0.555 GB, free: 16.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3258, allocations: 6.031 kB / 0.555 GB, free: 16.69 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.0002468/0.326, allocations: 0.8174 MB / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.855e-05/0.3261, allocations: 0 / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3261, allocations: 4 kB / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3261, allocations: 64 / 0.5558 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3265, allocations: 470.1 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.0009661/0.3274, allocations: 1.8 MB / 0.558 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3276, allocations: 0.6983 MB / 0.5587 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.3276, allocations: 2.844 kB / 0.5587 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.3276, allocations: 21.75 kB / 0.5587 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3276, allocations: 4 kB / 0.5588 GB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3568, allocations: 1.9 MB / 0.5606 GB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.49, allocations: 11.92 kB / 0.5606 GB, free: 12.6 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.302058983004827] Failed to read output from testmodel.py, exit status != 0: 11.593433099005779 11.603749696 11.278946362 Calling exit ...