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.001469/0.001469, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.46/1.46, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.001551/0.001551, allocations: 209.5 kB / 309.2 MB, free: 2.949 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.04056/0.04056, allocations: 8.911 MB / 374.6 MB, free: 1.723 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.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: 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.00325/0.00325, allocations: 87.86 kB / 0.4891 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3012, allocations: 55.6 MB / 0.5434 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002295/0.3034, allocations: 1.264 MB / 0.5447 GB, free: 25.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3051, allocations: 1.127 MB / 0.5458 GB, free: 25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3052, allocations: 3.938 kB / 0.5458 GB, free: 25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.3056, allocations: 76.98 kB / 0.5458 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3066, allocations: 407.8 kB / 0.5462 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.77e-06/0.3066, allocations: 7.125 kB / 0.5462 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3077, allocations: 0.8268 MB / 0.5471 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.3077, allocations: 2.906 kB / 0.5471 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.3077, allocations: 9.812 kB / 0.5471 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.3078, allocations: 17.25 kB / 0.5471 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3078, allocations: 3.984 kB / 0.5471 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3079, allocations: 53.39 kB / 0.5471 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.308, allocations: 19.98 kB / 0.5472 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.308, allocations: 10.91 kB / 0.5472 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3082, allocations: 84.23 kB / 0.5472 GB, free: 24.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3082, allocations: 0 / 0.5472 GB, free: 24.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3082, allocations: 0 / 0.5472 GB, free: 24.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3082, allocations: 0 / 0.5472 GB, free: 24.5 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.0002798/0.3085, allocations: 305.3 kB / 0.5475 GB, free: 24.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3085, allocations: 8.969 kB / 0.5475 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3085, allocations: 116.2 kB / 0.5477 GB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.3089, allocations: 105.9 kB / 0.5478 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3093, allocations: 318.6 kB / 0.5481 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3093, allocations: 150.9 kB / 0.5482 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3093, allocations: 154.9 kB / 0.5484 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.842e-05/0.3094, allocations: 111.8 kB / 0.5485 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3094, allocations: 75.28 kB / 0.5485 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3094, allocations: 154.5 kB / 0.5487 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3094, allocations: 150.6 kB / 0.5488 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.3095, allocations: 161.1 kB / 0.549 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.3096, allocations: 435.5 kB / 0.5494 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.3097, allocations: 169.1 kB / 0.5496 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.3097, allocations: 80.14 kB / 0.5496 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3097, allocations: 78.22 kB / 0.5497 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3097, allocations: 109.8 kB / 0.5498 GB, free: 21.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3097, allocations: 0 / 0.5498 GB, free: 21.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.89e-05/0.3098, allocations: 36.33 kB / 0.5498 GB, free: 21.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3098, allocations: 137.9 kB / 0.55 GB, free: 21.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.31, allocations: 160.2 kB / 0.5501 GB, free: 21.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-06/0.31, allocations: 33.64 kB / 0.5502 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.31, allocations: 106.3 kB / 0.5503 GB, free: 21.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.31, allocations: 0 / 0.5503 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.31, allocations: 9.719 kB / 0.5503 GB, free: 21.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.31, allocations: 318.2 kB / 0.5506 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-06/0.3101, allocations: 0 / 0.5506 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.3101, allocations: 3.188 kB / 0.5506 GB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.144e-05/0.3101, allocations: 79.28 kB / 0.5506 GB, free: 21.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.3101, allocations: 78.16 kB / 0.5507 GB, free: 20.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.976e-05/0.3101, allocations: 39 kB / 0.5508 GB, free: 20.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3101, allocations: 78.72 kB / 0.5508 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3102, allocations: 86.25 kB / 0.5509 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.3102, allocations: 150.6 kB / 0.5511 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.326e-05/0.3102, allocations: 89.84 kB / 0.5511 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.3102, allocations: 150.6 kB / 0.5513 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3103, allocations: 75.28 kB / 0.5514 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3103, allocations: 82.38 kB / 0.5514 GB, free: 20.25 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.574e-05/0.3103, allocations: 270 kB / 0.5517 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3104, allocations: 112.2 kB / 0.5518 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.3104, allocations: 122.5 kB / 0.5519 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.3104, allocations: 180.3 kB / 0.5521 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.3105, allocations: 180.3 kB / 0.5523 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.3105, allocations: 186.7 kB / 0.5524 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3106, allocations: 395.3 kB / 0.5528 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3106, allocations: 108.9 kB / 0.5529 GB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.3106, allocations: 104.9 kB / 0.553 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.592e-05/0.3107, allocations: 187.4 kB / 0.5532 GB, free: 18.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.3107, allocations: 179.5 kB / 0.5534 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.179e-05/0.3107, allocations: 183.6 kB / 0.5536 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.356e-05/0.3107, allocations: 180.2 kB / 0.5537 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.3108, allocations: 309.3 kB / 0.554 GB, free: 17.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3108, allocations: 116.1 kB / 0.5541 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3109, allocations: 183.2 kB / 0.5543 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.3109, allocations: 104.9 kB / 0.5544 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.311, allocations: 182.8 kB / 0.5546 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.311, allocations: 105.4 kB / 0.5547 GB, free: 16.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.311, allocations: 122.5 kB / 0.5548 GB, free: 16.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.311, allocations: 0 / 0.5548 GB, free: 16.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3113, allocations: 3.188 kB / 0.5548 GB, free: 16.72 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.0002178/0.3115, allocations: 0.8102 MB / 0.5556 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.921e-05/0.3115, allocations: 7.938 kB / 0.5556 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3115, allocations: 3.938 kB / 0.5556 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.3115, allocations: 3.281 kB / 0.5556 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3119, allocations: 467.7 kB / 0.556 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.3128, allocations: 1.797 MB / 0.5578 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.3129, allocations: 88.88 kB / 0.5579 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.3129, allocations: 10.48 kB / 0.5579 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.313, allocations: 19.44 kB / 0.5579 GB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.313, allocations: 0 / 0.5579 GB, free: 13.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3429, allocations: 2.345 MB / 0.5602 GB, free: 12.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 14.08 kB / 0.5602 GB, free: 12.82 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.708415877074003] Failed to read output from testmodel.py, exit status != 0: 11.186967591755092 11.197413718 10.886690618 Calling exit ...