Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.00115/0.00115, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9244/0.9244, allocations: 177.2 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.001124/0.001124, allocations: 164 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.02166/0.02166, allocations: 6.664 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.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.953e-05, allocations: 4.672 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002326/0.002355, allocations: 1.25 MB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003582, allocations: 1.148 MB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.003617, allocations: 4 kB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.003999, allocations: 75.64 kB / 447.9 MB, free: 35.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000675/0.004674, allocations: 422 kB / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.348e-06/0.004678, allocations: 0 / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009025/0.005581, allocations: 1.046 MB / 449.3 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.005631, allocations: 4 kB / 449.3 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.005667, allocations: 11.92 kB / 449.3 MB, free: 33.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.005698, allocations: 8 kB / 449.3 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.00571, allocations: 0 / 449.3 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.00584, allocations: 55.83 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.005889, allocations: 23.92 kB / 449.4 MB, free: 33.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.005909, allocations: 4 kB / 449.4 MB, free: 33.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.00606, allocations: 87.66 kB / 449.5 MB, free: 33.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006064, allocations: 4 kB / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.006066, allocations: 3.938 kB / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.006071, 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.0002653/0.006336, allocations: 309.8 kB / 449.8 MB, free: 33.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.006377, allocations: 8.031 kB / 449.8 MB, free: 33.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.006403, allocations: 106 kB / 449.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.006653, allocations: 116 kB / 450 MB, free: 32.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.006976, allocations: 326.3 kB / 450.4 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.006994, allocations: 150.9 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.007007, allocations: 158.9 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.715e-05/0.007045, allocations: 109.4 kB / 450.8 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007054, allocations: 75.47 kB / 450.8 MB, free: 32.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.00707, allocations: 154.7 kB / 451 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.007082, allocations: 150.6 kB / 451.1 MB, free: 31.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.504e-05/0.007097, allocations: 154.6 kB / 451.3 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.007233, allocations: 429 kB / 451.7 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.007279, allocations: 177.1 kB / 451.9 MB, free: 30.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.00729, allocations: 80.14 kB / 452 MB, free: 30.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007301, allocations: 83.27 kB / 452 MB, free: 30.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.007318, allocations: 109.8 kB / 452.2 MB, free: 30.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.007319, allocations: 0 / 452.2 MB, free: 30.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.425e-05/0.007374, allocations: 41.55 kB / 452.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.0074, allocations: 130.6 kB / 452.3 MB, free: 30.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007509, allocations: 165.4 kB / 452.5 MB, free: 30.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/0.007513, allocations: 25.7 kB / 452.5 MB, free: 30.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.007543, allocations: 100.1 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.007546, allocations: 4 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.007561, allocations: 9.719 kB / 452.6 MB, free: 30.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.007594, allocations: 326.8 kB / 452.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.007599, allocations: 0 / 452.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.007602, allocations: 0 / 452.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-06/0.007611, allocations: 75.28 kB / 453 MB, free: 29.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.007619, allocations: 75.28 kB / 453.1 MB, free: 29.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.171e-05/0.00765, allocations: 41.64 kB / 453.1 MB, free: 29.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.007667, allocations: 79.28 kB / 453.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.007677, allocations: 83.22 kB / 453.3 MB, free: 29.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.007702, allocations: 158.5 kB / 453.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-06/0.007712, allocations: 83.22 kB / 453.5 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.007727, allocations: 150.6 kB / 453.7 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.00776, allocations: 79.28 kB / 453.7 MB, free: 29.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007766, allocations: 83.22 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 4.919e-05/0.007815, allocations: 272.4 kB / 454.1 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.007837, allocations: 116.9 kB / 454.2 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.007859, allocations: 125.1 kB / 454.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.007874, allocations: 180.2 kB / 454.5 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.007892, allocations: 180.3 kB / 454.7 MB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.007908, allocations: 188.1 kB / 454.9 MB, free: 27.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.007998, allocations: 388.3 kB / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.008009, allocations: 112.9 kB / 455.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.00802, allocations: 109 kB / 455.5 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.774e-05/0.008048, allocations: 176.3 kB / 455.6 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.008082, allocations: 184.2 kB / 455.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.008104, allocations: 180.2 kB / 456 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.183e-05/0.008126, allocations: 184.2 kB / 456.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.008201, allocations: 315.7 kB / 456.5 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.008224, allocations: 109.3 kB / 456.6 MB, free: 26.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.008259, allocations: 184.3 kB / 456.8 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.008295, allocations: 112.8 kB / 456.9 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.008322, allocations: 176.3 kB / 457 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008334, allocations: 108.9 kB / 457.2 MB, free: 25.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.008388, allocations: 136.9 kB / 457.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008388, allocations: 0 / 457.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.00854, 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.0001763/0.008717, allocations: 0.8087 MB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.046e-05/0.008757, allocations: 3.984 kB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008758, allocations: 0 / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.00876, allocations: 3.938 kB / 458.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.009016, allocations: 470.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.0007711/0.009787, allocations: 1.827 MB / 460.4 MB, free: 22.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.009839, allocations: 83.06 kB / 460.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.009879, allocations: 4 kB / 460.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.00993, allocations: 16.5 kB / 460.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009931, allocations: 0 / 460.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.02794, allocations: 2.518 MB / 463 MB, free: 19.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.957, allocations: 6.688 kB / 463 MB, free: 19.57 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestSingleLayer12over12_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_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.022246271371841] Failed to read output from testmodel.py, exit status != 0: 7.036820348352194 7.043250372 7.035725475 Calling exit ...