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.000864/0.000864, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.9348/0.9348, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001039/0.001039, allocations: 160 kB / 256 MB, free: 13.34 MB / 250.7 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.02162/0.02162, allocations: 6.669 MB / 319 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.41e-05, allocations: 8.672 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002232/0.002256, allocations: 1.254 MB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003958, allocations: 1.152 MB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.004003, allocations: 4 kB / 447.8 MB, free: 35.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.004513, allocations: 75.58 kB / 447.9 MB, free: 35.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.005638, allocations: 425.7 kB / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.079e-06/0.005643, allocations: 0 / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.006966, allocations: 1.034 MB / 449.3 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.007015, allocations: 8 kB / 449.3 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.007055, allocations: 19.91 kB / 449.3 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.007089, allocations: 12 kB / 449.4 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.007101, allocations: 0 / 449.4 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.007257, allocations: 47.84 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.007314, allocations: 23.91 kB / 449.4 MB, free: 33.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.007338, allocations: 8 kB / 449.4 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.007543, allocations: 87.61 kB / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.007545, allocations: 0 / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.007547, allocations: 0 / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.007551, allocations: 0 / 449.5 MB, free: 33.49 MB / 330.7 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.0002868/0.007838, allocations: 313.8 kB / 449.8 MB, free: 33.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.007884, allocations: 12.03 kB / 449.8 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.007911, allocations: 106 kB / 449.9 MB, free: 33.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.008251, allocations: 108.1 kB / 450.1 MB, free: 32.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.008654, allocations: 323.4 kB / 450.4 MB, free: 32.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.008672, allocations: 150.9 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.008684, allocations: 150.9 kB / 450.7 MB, free: 32.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.028e-05/0.008724, allocations: 105.5 kB / 450.8 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.008736, allocations: 83.41 kB / 450.8 MB, free: 32.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.008751, allocations: 154.7 kB / 451 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.008766, allocations: 150.6 kB / 451.1 MB, free: 31.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.008788, allocations: 158.5 kB / 451.3 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.008977, allocations: 433 kB / 451.7 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.009023, allocations: 173.1 kB / 451.9 MB, free: 30.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.009035, allocations: 80.14 kB / 452 MB, free: 30.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.009046, allocations: 75.28 kB / 452 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.009065, allocations: 105.8 kB / 452.1 MB, free: 30.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.009066, allocations: 4 kB / 452.2 MB, free: 30.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.009137, allocations: 53.47 kB / 452.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.009165, allocations: 126.7 kB / 452.3 MB, free: 30.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.00931, allocations: 164.9 kB / 452.5 MB, free: 30.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-06/0.009314, allocations: 25.7 kB / 452.5 MB, free: 30.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.009347, allocations: 100.1 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.009349, allocations: 0 / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.009369, allocations: 13.72 kB / 452.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.009407, allocations: 322.8 kB / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.009412, allocations: 3.938 kB / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-06/0.009415, allocations: 0 / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.013e-05/0.009425, allocations: 75.28 kB / 453 MB, free: 29.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.009432, allocations: 79.28 kB / 453.1 MB, free: 29.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.933e-05/0.009481, allocations: 41.59 kB / 453.1 MB, free: 29.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.0095, allocations: 83.28 kB / 453.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.009511, allocations: 75.28 kB / 453.3 MB, free: 29.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.009535, allocations: 162.5 kB / 453.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-06/0.009543, allocations: 83.22 kB / 453.5 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.009556, allocations: 150.6 kB / 453.7 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.00961, allocations: 79.22 kB / 453.8 MB, free: 29.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.009619, allocations: 83.33 kB / 453.8 MB, free: 28.96 MB / 330.7 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.274e-05/0.009682, allocations: 272.4 kB / 454.1 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.009714, allocations: 116.9 kB / 454.2 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.009742, allocations: 121.2 kB / 454.3 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.009758, allocations: 180.2 kB / 454.5 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.009777, allocations: 184.2 kB / 454.7 MB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.009792, allocations: 176.3 kB / 454.9 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.009927, allocations: 404.2 kB / 455.3 MB, free: 27.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.009938, allocations: 101 kB / 455.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.009947, allocations: 105 kB / 455.5 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.009965, allocations: 184.2 kB / 455.6 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.009985, allocations: 176.3 kB / 455.8 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/0.01, allocations: 192.1 kB / 456 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.01002, allocations: 180.2 kB / 456.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.764e-05/0.01008, allocations: 315.7 kB / 456.5 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.0101, allocations: 109.3 kB / 456.6 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.01014, allocations: 184.2 kB / 456.8 MB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.01019, allocations: 108.9 kB / 456.9 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.01021, allocations: 188.3 kB / 457.1 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01022, allocations: 104.9 kB / 457.2 MB, free: 25.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.01028, allocations: 128.2 kB / 457.3 MB, free: 25.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0 / 457.3 MB, free: 25.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.01046, allocations: 4 kB / 457.3 MB, free: 25.3 MB / 330.7 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.0001544/0.01061, allocations: 0.8126 MB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.21e-05/0.01064, allocations: 3.938 kB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01065, allocations: 4 kB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.01065, allocations: 0 / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.0109, allocations: 474.4 kB / 458.6 MB, free: 23.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.01156, allocations: 1.812 MB / 460.4 MB, free: 22.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.0116, allocations: 91 kB / 460.5 MB, free: 21.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.01164, allocations: 11.98 kB / 460.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.01167, allocations: 20.5 kB / 460.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01168, allocations: 0 / 460.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.0297, allocations: 2.515 MB / 463 MB, free: 19.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.082, allocations: 15.75 kB / 463 MB, free: 19.56 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.107880369760096] Failed to read output from testmodel.py, exit status != 0: 7.164468228816986 7.175398306 7.165562175 Calling exit ...