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.001317/0.001317, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.441/1.441, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001619/0.001619, allocations: 219.3 kB / 309.2 MB, free: 3.145 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.04285/0.04285, allocations: 8.914 MB / 374.6 MB, free: 1.898 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.002593/0.002593, allocations: 91.84 kB / 0.4892 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2944, allocations: 55.59 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001928/0.2963, allocations: 1.273 MB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2978, allocations: 1.26 MB / 0.546 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.2979, allocations: 0 / 0.546 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.2982, allocations: 79.44 kB / 0.546 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.2991, allocations: 419.8 kB / 0.5464 GB, free: 24.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.348e-06/0.2991, allocations: 0 / 0.5464 GB, free: 24.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3003, allocations: 1.045 MB / 0.5475 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3004, allocations: 5.844 kB / 0.5475 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.3004, allocations: 11.09 kB / 0.5475 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.3004, allocations: 16.56 kB / 0.5475 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.3005, allocations: 0 / 0.5475 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3006, allocations: 51.23 kB / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.3006, allocations: 28.81 kB / 0.5476 GB, free: 24.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3007, allocations: 30.23 kB / 0.5476 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3008, allocations: 76.78 kB / 0.5477 GB, free: 24.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3008, allocations: 2.906 kB / 0.5477 GB, free: 24.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3008, allocations: 0 / 0.5477 GB, free: 24.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3008, allocations: 0 / 0.5477 GB, free: 24.47 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.000296/0.3011, allocations: 308.3 kB / 0.548 GB, free: 24.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3012, allocations: 11.72 kB / 0.548 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.3012, allocations: 106 kB / 0.5481 GB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.3016, allocations: 112.3 kB / 0.5482 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.302, allocations: 332.8 kB / 0.5485 GB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.302, allocations: 150.9 kB / 0.5487 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.302, allocations: 157.9 kB / 0.5488 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.96e-05/0.3021, allocations: 113.1 kB / 0.5489 GB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3021, allocations: 75.28 kB / 0.549 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.3021, allocations: 154.6 kB / 0.5491 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.3021, allocations: 150.6 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.3022, allocations: 154.5 kB / 0.5494 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.3023, allocations: 439.7 kB / 0.5498 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.3024, allocations: 165.1 kB / 0.55 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.3024, allocations: 80.14 kB / 0.5501 GB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3024, allocations: 75.28 kB / 0.5501 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3025, allocations: 116.9 kB / 0.5503 GB, free: 21.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3025, allocations: 4 kB / 0.5503 GB, free: 21.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.3025, allocations: 44.03 kB / 0.5503 GB, free: 21.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.3026, allocations: 126.7 kB / 0.5504 GB, free: 21.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3027, allocations: 166.7 kB / 0.5506 GB, free: 21.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.3027, allocations: 25.7 kB / 0.5506 GB, free: 21.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3027, allocations: 106.4 kB / 0.5507 GB, free: 21.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3027, allocations: 0 / 0.5507 GB, free: 21.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.3028, allocations: 9.719 kB / 0.5507 GB, free: 21.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.3028, allocations: 325.2 kB / 0.551 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-06/0.3028, allocations: 0 / 0.551 GB, free: 21.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.3028, allocations: 0 / 0.551 GB, free: 21.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.593e-05/0.3028, allocations: 75.28 kB / 0.5511 GB, free: 21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.3029, allocations: 78.59 kB / 0.5512 GB, free: 20.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.939e-05/0.3029, allocations: 40.78 kB / 0.5512 GB, free: 20.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3029, allocations: 84.95 kB / 0.5513 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3029, allocations: 79.28 kB / 0.5514 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.303, allocations: 157.5 kB / 0.5515 GB, free: 20.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.085e-05/0.303, allocations: 83.22 kB / 0.5516 GB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.303, allocations: 154.5 kB / 0.5517 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.3031, allocations: 79.22 kB / 0.5518 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3031, allocations: 77.78 kB / 0.5519 GB, free: 20.19 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 7.31e-05/0.3031, allocations: 283.1 kB / 0.5522 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3032, allocations: 115.8 kB / 0.5523 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.3032, allocations: 126.6 kB / 0.5524 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.3032, allocations: 176.3 kB / 0.5526 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/0.3033, allocations: 180.2 kB / 0.5527 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.3033, allocations: 183.5 kB / 0.5529 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3035, allocations: 395.2 kB / 0.5533 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.3035, allocations: 104.3 kB / 0.5534 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.3035, allocations: 104.9 kB / 0.5535 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/0.3035, allocations: 180.2 kB / 0.5537 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3035, allocations: 180.3 kB / 0.5538 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.428e-05/0.3036, allocations: 190.6 kB / 0.554 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/0.3036, allocations: 176.3 kB / 0.5542 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.738e-05/0.3037, allocations: 310.2 kB / 0.5545 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.3037, allocations: 115.4 kB / 0.5546 GB, free: 17.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.3037, allocations: 187.6 kB / 0.5548 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.3038, allocations: 101 kB / 0.5549 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3038, allocations: 183.7 kB / 0.555 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3038, allocations: 104.9 kB / 0.5551 GB, free: 16.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.733e-05/0.3039, allocations: 125.5 kB / 0.5553 GB, free: 16.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3039, allocations: 0 / 0.5553 GB, free: 16.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3041, allocations: 3.188 kB / 0.5553 GB, free: 16.66 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.0002246/0.3044, allocations: 0.8184 MB / 0.5561 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.057e-05/0.3044, allocations: 7.938 kB / 0.5561 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3044, allocations: 0 / 0.5561 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3044, allocations: 0 / 0.5561 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3048, allocations: 471.5 kB / 0.5565 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.3057, allocations: 1.82 MB / 0.5583 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3058, allocations: 0.7003 MB / 0.559 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.3058, allocations: 7.016 kB / 0.559 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.3059, allocations: 18.77 kB / 0.559 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3059, allocations: 4 kB / 0.559 GB, free: 13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.3502, allocations: 1.955 MB / 0.5609 GB, free: 12.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 3 kB / 0.5609 GB, free: 12.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestSingleLayer12over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.28887593280524] Failed to read output from testmodel.py, exit status != 0: 11.75246416288428 11.766278056 11.461825441 Calling exit ...