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.0009285/0.0009285, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.8872/0.8872, allocations: 177.1 MB / 199.4 MB, free: 5.938 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.00103/0.00103, allocations: 156.6 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.0223/0.0223, allocations: 6.67 MB / 319 MB, free: 26.78 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.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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.456e-05, allocations: 9.031 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001858/0.001873, allocations: 1.258 MB / 446.6 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.00353, allocations: 1.152 MB / 447.8 MB, free: 35.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.00357, allocations: 4 kB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.004013, allocations: 71.64 kB / 447.9 MB, free: 35.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.005014, allocations: 418.2 kB / 448.3 MB, free: 34.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.508e-06/0.005018, allocations: 0 / 448.3 MB, free: 34.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008624/0.00588, allocations: 0.827 MB / 449.1 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.005919, allocations: 4 kB / 449.1 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.005949, allocations: 19.92 kB / 449.1 MB, free: 33.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.005973, allocations: 7.984 kB / 449.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.005982, allocations: 0 / 449.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.006088, allocations: 47.91 kB / 449.2 MB, free: 33.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.00613, allocations: 27.91 kB / 449.2 MB, free: 33.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.006145, allocations: 7.938 kB / 449.2 MB, free: 33.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.006266, allocations: 79.73 kB / 449.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006268, allocations: 0 / 449.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006269, allocations: 0 / 449.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.006272, allocations: 0 / 449.3 MB, free: 33.72 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.0002043/0.006476, allocations: 309.8 kB / 449.6 MB, free: 33.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.006508, allocations: 15.97 kB / 449.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.174e-05/0.00653, allocations: 106 kB / 449.7 MB, free: 33.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.00673, allocations: 108.1 kB / 449.8 MB, free: 33.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.007017, allocations: 324.6 kB / 450.1 MB, free: 32.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.007033, allocations: 154.9 kB / 450.3 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.007044, allocations: 154.9 kB / 450.4 MB, free: 32.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.434e-05/0.007078, allocations: 101.5 kB / 450.5 MB, free: 32.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007087, allocations: 75.47 kB / 450.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.007103, allocations: 158.7 kB / 450.8 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.007116, allocations: 150.6 kB / 450.9 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.007133, allocations: 154.6 kB / 451.1 MB, free: 31.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.007274, allocations: 437 kB / 451.5 MB, free: 31.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.007311, allocations: 173.1 kB / 451.7 MB, free: 31.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.007324, allocations: 80.14 kB / 451.7 MB, free: 31.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.007336, allocations: 75.28 kB / 451.8 MB, free: 31.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.007352, allocations: 109.8 kB / 451.9 MB, free: 30.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.007353, allocations: 3.938 kB / 451.9 MB, free: 30.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.41e-05/0.007407, allocations: 45.58 kB / 452 MB, free: 30.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.007431, allocations: 126.7 kB / 452.1 MB, free: 30.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.007526, allocations: 158.3 kB / 452.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-06/0.007529, allocations: 29.7 kB / 452.3 MB, free: 30.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.007554, allocations: 104.1 kB / 452.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.007556, allocations: 0 / 452.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.007569, allocations: 9.719 kB / 452.4 MB, free: 30.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.893e-05/0.007598, allocations: 322.8 kB / 452.7 MB, free: 30.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.007602, allocations: 3.938 kB / 452.7 MB, free: 30.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.007605, allocations: 0 / 452.7 MB, free: 30.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-06/0.007614, allocations: 75.28 kB / 452.8 MB, free: 30.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.00762, allocations: 75.28 kB / 452.9 MB, free: 29.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.865e-05/0.007648, allocations: 37.66 kB / 452.9 MB, free: 29.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.007664, allocations: 83.27 kB / 453 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.007672, allocations: 83.22 kB / 453.1 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.007693, allocations: 162.5 kB / 453.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-06/0.0077, allocations: 79.22 kB / 453.3 MB, free: 29.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.007712, allocations: 150.6 kB / 453.4 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.007743, allocations: 79.28 kB / 453.5 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007749, allocations: 83.22 kB / 453.6 MB, free: 29.21 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 4.915e-05/0.007798, allocations: 268.4 kB / 453.9 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.007818, allocations: 112.9 kB / 454 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.00784, allocations: 120.5 kB / 454.1 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.007855, allocations: 180.2 kB / 454.3 MB, free: 28.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.007875, allocations: 188.2 kB / 454.4 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.00789, allocations: 180.3 kB / 454.6 MB, free: 28.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.007975, allocations: 392.3 kB / 455 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.007984, allocations: 108.9 kB / 455.1 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.007992, allocations: 101 kB / 455.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.008007, allocations: 188.2 kB / 455.4 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.008022, allocations: 176.3 kB / 455.6 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.008036, allocations: 184.2 kB / 455.7 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.00805, allocations: 180.2 kB / 455.9 MB, free: 26.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.216e-05/0.008092, allocations: 315.7 kB / 456.2 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.008109, allocations: 113.3 kB / 456.3 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.008131, allocations: 180.2 kB / 456.5 MB, free: 26.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.008164, allocations: 108.9 kB / 456.6 MB, free: 25.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.008185, allocations: 188.3 kB / 456.8 MB, free: 25.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.008196, allocations: 108.9 kB / 456.9 MB, free: 25.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.008241, allocations: 120.1 kB / 457 MB, free: 25.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008241, allocations: 0 / 457 MB, free: 25.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.008395, allocations: 4 kB / 457 MB, free: 25.57 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.0001532/0.008549, allocations: 0.8087 MB / 457.8 MB, free: 24.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.422e-05/0.008583, allocations: 7.938 kB / 457.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008584, allocations: 0 / 457.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.008585, allocations: 0 / 457.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.008833, allocations: 478.3 kB / 458.3 MB, free: 24.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.009487, allocations: 1.802 MB / 460.1 MB, free: 22.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.009529, allocations: 83.25 kB / 460.2 MB, free: 22.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.009555, allocations: 4 kB / 460.2 MB, free: 22.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.00959, allocations: 20.48 kB / 460.2 MB, free: 22.24 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.00959, allocations: 4 kB / 460.2 MB, free: 22.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.02438, allocations: 2.469 MB / 462.7 MB, free: 19.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.009, allocations: 5.484 kB / 462.7 MB, free: 19.89 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.974071383476257] Failed to read output from testmodel.py, exit status != 0: 7.094305389560759 7.102535967 7.094796808 Calling exit ...