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.001287/0.001287, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.489/1.489, allocations: 230.6 MB / 252.6 MB, free: 8.348 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.001882/0.001882, allocations: 223 kB / 309.2 MB, free: 3.188 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.04335/0.04335, allocations: 8.915 MB / 374.6 MB, free: 1.945 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.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: 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.002637/0.002637, allocations: 83.88 kB / 0.4892 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.305, allocations: 55.6 MB / 0.5435 GB, free: 26.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002236/0.3073, allocations: 1.271 MB / 0.5447 GB, free: 25.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3089, allocations: 1.263 MB / 0.546 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.309, allocations: 0 / 0.546 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.3094, allocations: 73.69 kB / 0.546 GB, free: 25.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.3103, allocations: 440.5 kB / 0.5465 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.3103, allocations: 0 / 0.5465 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3117, allocations: 1.04 MB / 0.5475 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.3117, allocations: 7.141 kB / 0.5475 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.3118, allocations: 10 kB / 0.5475 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.3118, allocations: 13.27 kB / 0.5475 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3118, allocations: 7.875 kB / 0.5475 GB, free: 24.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.312, allocations: 46.64 kB / 0.5476 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.312, allocations: 32.09 kB / 0.5476 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.312, allocations: 18.16 kB / 0.5476 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3122, allocations: 81.77 kB / 0.5477 GB, free: 24.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3122, allocations: 0 / 0.5477 GB, free: 24.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3122, allocations: 3.328 kB / 0.5477 GB, free: 24.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3122, allocations: 0 / 0.5477 GB, free: 24.52 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.0002897/0.3125, allocations: 309.8 kB / 0.548 GB, free: 24.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3125, allocations: 13.5 kB / 0.548 GB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.3126, allocations: 106 kB / 0.5481 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.3129, allocations: 114.7 kB / 0.5482 GB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.3133, allocations: 319.1 kB / 0.5485 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.3134, allocations: 158.9 kB / 0.5487 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3134, allocations: 154.9 kB / 0.5488 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.289e-05/0.3134, allocations: 112.3 kB / 0.5489 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3134, allocations: 75.28 kB / 0.549 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3135, allocations: 150.6 kB / 0.5491 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3135, allocations: 150.6 kB / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.3135, allocations: 154.6 kB / 0.5494 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3137, allocations: 441.4 kB / 0.5498 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.3137, allocations: 168.4 kB / 0.55 GB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.3138, allocations: 80.14 kB / 0.5501 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3138, allocations: 75.28 kB / 0.5502 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3138, allocations: 113.8 kB / 0.5503 GB, free: 21.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3138, allocations: 0 / 0.5503 GB, free: 21.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.137e-05/0.3139, allocations: 51.33 kB / 0.5503 GB, free: 21.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3139, allocations: 126.7 kB / 0.5504 GB, free: 21.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.314, allocations: 163.6 kB / 0.5506 GB, free: 21.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.314, allocations: 28.8 kB / 0.5506 GB, free: 21.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.3141, allocations: 102.3 kB / 0.5507 GB, free: 21.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.3141, allocations: 0 / 0.5507 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.3141, allocations: 16.78 kB / 0.5507 GB, free: 21.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.3141, allocations: 321.3 kB / 0.551 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.3142, allocations: 0 / 0.551 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-06/0.3142, allocations: 0 / 0.551 GB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.205e-05/0.3142, allocations: 75.28 kB / 0.5511 GB, free: 21.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.3142, allocations: 75.28 kB / 0.5512 GB, free: 20.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.996e-05/0.3142, allocations: 43.94 kB / 0.5512 GB, free: 20.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3143, allocations: 84.83 kB / 0.5513 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3143, allocations: 79.28 kB / 0.5514 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.3143, allocations: 150.6 kB / 0.5515 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-05/0.3143, allocations: 83.16 kB / 0.5516 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.3143, allocations: 157.7 kB / 0.5518 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.3144, allocations: 79.22 kB / 0.5518 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3144, allocations: 75.28 kB / 0.5519 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.703e-05/0.3145, allocations: 279.5 kB / 0.5522 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3145, allocations: 111.9 kB / 0.5523 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3145, allocations: 126.6 kB / 0.5524 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.3146, allocations: 176.3 kB / 0.5526 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.3146, allocations: 188.1 kB / 0.5527 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.3146, allocations: 183 kB / 0.5529 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3147, allocations: 394.8 kB / 0.5533 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.3148, allocations: 108.3 kB / 0.5534 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.3148, allocations: 104.9 kB / 0.5535 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.3148, allocations: 187.4 kB / 0.5537 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3148, allocations: 176.3 kB / 0.5538 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.272e-05/0.3148, allocations: 184.3 kB / 0.554 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/0.3149, allocations: 186.9 kB / 0.5542 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.197e-05/0.3149, allocations: 306.1 kB / 0.5545 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.315, allocations: 119.3 kB / 0.5546 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.315, allocations: 180.3 kB / 0.5548 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.315, allocations: 108.2 kB / 0.5549 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.3151, allocations: 180.3 kB / 0.5551 GB, free: 16.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3151, allocations: 105.4 kB / 0.5552 GB, free: 16.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.598e-05/0.3152, allocations: 129.9 kB / 0.5553 GB, free: 16.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 0 / 0.5553 GB, free: 16.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3154, allocations: 3.125 kB / 0.5553 GB, free: 16.71 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.00022/0.3156, allocations: 0.8164 MB / 0.5561 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.093e-05/0.3157, allocations: 3.938 kB / 0.5561 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3157, allocations: 0 / 0.5561 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3157, allocations: 0 / 0.5561 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.316, allocations: 473 kB / 0.5565 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.3169, allocations: 1.821 MB / 0.5583 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.317, allocations: 0.7027 MB / 0.559 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3171, allocations: 6.594 kB / 0.559 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3171, allocations: 19.44 kB / 0.559 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3171, allocations: 0 / 0.559 GB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3468, allocations: 1.954 MB / 0.5609 GB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.67, allocations: 6.578 kB / 0.5609 GB, free: 12.61 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.415809855097905] Failed to read output from testmodel.py, exit status != 0: 11.76995294704102 11.789561557 11.4732391 Calling exit ...