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.001305/0.001305, 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.454/1.454, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.00157/0.00157, allocations: 228.6 kB / 309.2 MB, free: 3.125 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.04215/0.04215, allocations: 8.908 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.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: 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.002573/0.002573, allocations: 87.88 kB / 0.4892 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3002, allocations: 55.6 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002206/0.3024, allocations: 1.271 MB / 0.5447 GB, free: 25.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3041, allocations: 1.256 MB / 0.546 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3041, allocations: 0 / 0.546 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3045, allocations: 90.09 kB / 0.546 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.3053, allocations: 421 kB / 0.5464 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.3053, allocations: 0 / 0.5464 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3065, allocations: 1.049 MB / 0.5475 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.3066, allocations: 3.125 kB / 0.5475 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.3066, allocations: 10.16 kB / 0.5475 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.3066, allocations: 17.62 kB / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.3066, allocations: 0 / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3068, allocations: 49.02 kB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3068, allocations: 28.98 kB / 0.5476 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.3069, allocations: 25.33 kB / 0.5476 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.307, allocations: 77.67 kB / 0.5477 GB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.307, allocations: 3.156 kB / 0.5477 GB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.307, allocations: 0 / 0.5477 GB, free: 24.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.307, allocations: 0 / 0.5477 GB, free: 24.45 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.0002969/0.3073, allocations: 310.6 kB / 0.548 GB, free: 24.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3074, allocations: 13.75 kB / 0.548 GB, free: 24.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.3074, allocations: 110 kB / 0.5481 GB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.3077, allocations: 114.6 kB / 0.5482 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.3081, allocations: 315.5 kB / 0.5485 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3081, allocations: 154.9 kB / 0.5486 GB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3082, allocations: 154.9 kB / 0.5488 GB, free: 23.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.236e-05/0.3082, allocations: 113 kB / 0.5489 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3082, allocations: 79.28 kB / 0.549 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3082, allocations: 150.6 kB / 0.5491 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.3083, allocations: 160.8 kB / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.3083, allocations: 154.6 kB / 0.5494 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.3085, allocations: 432.7 kB / 0.5498 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.3085, allocations: 169.1 kB / 0.55 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.3085, allocations: 80.14 kB / 0.5501 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3085, allocations: 83.28 kB / 0.5502 GB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.3085, allocations: 113 kB / 0.5503 GB, free: 21.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3085, allocations: 0 / 0.5503 GB, free: 21.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.691e-05/0.3086, allocations: 40.7 kB / 0.5503 GB, free: 21.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3086, allocations: 126.7 kB / 0.5504 GB, free: 21.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3088, allocations: 169.5 kB / 0.5506 GB, free: 21.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.3088, allocations: 25.7 kB / 0.5506 GB, free: 21.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.3088, allocations: 109.9 kB / 0.5507 GB, free: 21.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3088, allocations: 0 / 0.5507 GB, free: 21.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.3088, allocations: 9.719 kB / 0.5507 GB, free: 21.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.3089, allocations: 321.3 kB / 0.551 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.3089, allocations: 0 / 0.551 GB, free: 21.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.3089, allocations: 0 / 0.551 GB, free: 21.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.334e-05/0.3089, allocations: 78.44 kB / 0.5511 GB, free: 20.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.3089, allocations: 75.28 kB / 0.5512 GB, free: 20.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.727e-05/0.3089, allocations: 41 kB / 0.5512 GB, free: 20.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.309, allocations: 85.84 kB / 0.5513 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.309, allocations: 75.28 kB / 0.5514 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.309, allocations: 161 kB / 0.5515 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.165e-05/0.309, allocations: 79.22 kB / 0.5516 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.309, allocations: 150.6 kB / 0.5517 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.3091, allocations: 91.2 kB / 0.5518 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3091, allocations: 78.53 kB / 0.5519 GB, free: 20.17 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.494e-05/0.3092, allocations: 270.1 kB / 0.5522 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3092, allocations: 115.5 kB / 0.5523 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.3092, allocations: 127.7 kB / 0.5524 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.3093, allocations: 176.3 kB / 0.5526 GB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.3093, allocations: 187.5 kB / 0.5527 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.3093, allocations: 183.5 kB / 0.5529 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3095, allocations: 388.8 kB / 0.5533 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.3095, allocations: 108.1 kB / 0.5534 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.3095, allocations: 104.9 kB / 0.5535 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.225e-05/0.3095, allocations: 191.7 kB / 0.5537 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.3095, allocations: 179.5 kB / 0.5538 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-05/0.3096, allocations: 176.3 kB / 0.554 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-05/0.3096, allocations: 180.2 kB / 0.5542 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.02e-05/0.3097, allocations: 317.4 kB / 0.5545 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3097, allocations: 116 kB / 0.5546 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.3097, allocations: 179.4 kB / 0.5548 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.3098, allocations: 108.3 kB / 0.5549 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3098, allocations: 180.3 kB / 0.555 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3098, allocations: 108 kB / 0.5551 GB, free: 16.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.96e-05/0.3099, allocations: 131.1 kB / 0.5553 GB, free: 16.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3099, allocations: 0 / 0.5553 GB, free: 16.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3102, allocations: 6.406 kB / 0.5553 GB, free: 16.63 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.0002632/0.3104, allocations: 0.8071 MB / 0.5561 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.554e-05/0.3105, allocations: 14.91 kB / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3105, allocations: 0 / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3105, allocations: 0 / 0.5561 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3108, allocations: 465.4 kB / 0.5565 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3118, allocations: 1.817 MB / 0.5583 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.312, allocations: 0.7035 MB / 0.559 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.312, allocations: 5.953 kB / 0.559 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.312, allocations: 18.28 kB / 0.559 GB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.312, allocations: 0 / 0.559 GB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3397, allocations: 1.956 MB / 0.5609 GB, free: 12.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.47, allocations: 5.844 kB / 0.5609 GB, free: 12.54 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.19532795100531] Failed to read output from testmodel.py, exit status != 0: 11.572384935003356 11.595679252 11.283405373 Calling exit ...