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.001264/0.001264, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.437/1.437, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001666/0.001666, allocations: 217.4 kB / 309.2 MB, free: 3.137 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.04106/0.04106, allocations: 8.915 MB / 374.6 MB, free: 1.895 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.002517/0.002517, allocations: 87.86 kB / 0.4892 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2719, allocations: 55.6 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002224/0.2742, allocations: 1.28 MB / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2756, allocations: 1.256 MB / 0.546 GB, free: 25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.2757, allocations: 0 / 0.546 GB, free: 25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.276, allocations: 77.83 kB / 0.5461 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.2768, allocations: 430.1 kB / 0.5465 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.2768, allocations: 0 / 0.5465 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2781, allocations: 1.041 MB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.2781, allocations: 3.281 kB / 0.5475 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.2782, allocations: 11.06 kB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.2782, allocations: 13.05 kB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.2782, allocations: 3.938 kB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2783, allocations: 48 kB / 0.5476 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2784, allocations: 31.77 kB / 0.5476 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.2784, allocations: 18.22 kB / 0.5476 GB, free: 24.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2786, allocations: 88.25 kB / 0.5477 GB, free: 24.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2786, allocations: 3.094 kB / 0.5477 GB, free: 24.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2786, allocations: 0 / 0.5477 GB, free: 24.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2786, allocations: 0 / 0.5477 GB, free: 24.43 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.0002902/0.2789, allocations: 309.1 kB / 0.548 GB, free: 24.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2789, allocations: 10.62 kB / 0.548 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.2789, allocations: 106 kB / 0.5481 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.2793, allocations: 109.1 kB / 0.5482 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2797, allocations: 327.3 kB / 0.5485 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2797, allocations: 154.9 kB / 0.5487 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2797, allocations: 154.9 kB / 0.5488 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.275e-05/0.2797, allocations: 109.1 kB / 0.5489 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2798, allocations: 75.28 kB / 0.549 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2798, allocations: 157.7 kB / 0.5491 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2798, allocations: 153.6 kB / 0.5493 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.2798, allocations: 158.5 kB / 0.5494 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.28, allocations: 436.4 kB / 0.5498 GB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.2801, allocations: 168 kB / 0.55 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.2801, allocations: 80.14 kB / 0.5501 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.2801, allocations: 75.28 kB / 0.5502 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2801, allocations: 113.8 kB / 0.5503 GB, free: 21.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2801, allocations: 0 / 0.5503 GB, free: 21.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.342e-05/0.2802, allocations: 47.45 kB / 0.5503 GB, free: 21.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2802, allocations: 126.7 kB / 0.5504 GB, free: 21.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2803, allocations: 167.2 kB / 0.5506 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.2803, allocations: 28.77 kB / 0.5506 GB, free: 21.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.2803, allocations: 102.6 kB / 0.5507 GB, free: 21.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.2804, allocations: 0 / 0.5507 GB, free: 21.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.2804, allocations: 16.84 kB / 0.5507 GB, free: 21.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.2804, allocations: 321.2 kB / 0.551 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.2804, allocations: 0 / 0.551 GB, free: 21.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-06/0.2804, allocations: 0 / 0.551 GB, free: 21.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.089e-05/0.2804, allocations: 75.28 kB / 0.5511 GB, free: 20.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2804, allocations: 75.28 kB / 0.5512 GB, free: 20.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.755e-05/0.2805, allocations: 43.75 kB / 0.5512 GB, free: 20.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2805, allocations: 83.94 kB / 0.5513 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2805, allocations: 79.28 kB / 0.5514 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.2805, allocations: 153.1 kB / 0.5515 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-06/0.2806, allocations: 83.16 kB / 0.5516 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.2806, allocations: 153.9 kB / 0.5518 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.2806, allocations: 83.22 kB / 0.5518 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2806, allocations: 75.28 kB / 0.5519 GB, free: 20.16 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.242e-05/0.2807, allocations: 279.6 kB / 0.5522 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.2807, allocations: 119.8 kB / 0.5523 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2808, allocations: 119.9 kB / 0.5524 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.2808, allocations: 179.8 kB / 0.5526 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.2808, allocations: 188.1 kB / 0.5527 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.2808, allocations: 180.3 kB / 0.5529 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.281, allocations: 395.8 kB / 0.5533 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.281, allocations: 104.4 kB / 0.5534 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.281, allocations: 107.9 kB / 0.5535 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/0.281, allocations: 180.2 kB / 0.5537 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.281, allocations: 176.3 kB / 0.5538 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/0.2811, allocations: 191 kB / 0.554 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.569e-05/0.2811, allocations: 179.6 kB / 0.5542 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.795e-05/0.2812, allocations: 305.2 kB / 0.5545 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.2812, allocations: 122.1 kB / 0.5546 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.2812, allocations: 184.2 kB / 0.5548 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.2813, allocations: 101 kB / 0.5549 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.2813, allocations: 183.2 kB / 0.555 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2813, allocations: 105.4 kB / 0.5551 GB, free: 16.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.2814, allocations: 126.1 kB / 0.5553 GB, free: 16.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2814, allocations: 0 / 0.5553 GB, free: 16.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.2816, allocations: 6.562 kB / 0.5553 GB, free: 16.62 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.0002054/0.2818, allocations: 0.8155 MB / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.603e-05/0.2819, allocations: 3.938 kB / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2819, allocations: 0 / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2819, allocations: 4.062 kB / 0.5561 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2822, allocations: 467.9 kB / 0.5565 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.2831, allocations: 1.821 MB / 0.5583 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2832, allocations: 0.7058 MB / 0.559 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.2833, allocations: 6.922 kB / 0.559 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.2833, allocations: 25.88 kB / 0.559 GB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2833, allocations: 0 / 0.559 GB, free: 12.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.311, allocations: 1.953 MB / 0.5609 GB, free: 12.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.31, allocations: 10.56 kB / 0.5609 GB, free: 12.52 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: 14.021375388001616] Failed to read output from testmodel.py, exit status != 0: 11.41475201400317 11.426417064 11.145242575 Calling exit ...