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.001332/0.001332, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.663/1.663, allocations: 230.6 MB / 250.5 MB, free: 9.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.001847/0.001847, allocations: 210.9 kB / 306.7 MB, free: 4.312 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.05119/0.05119, allocations: 8.911 MB / 371.7 MB, free: 3.445 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="cs",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.002714/0.002714, allocations: 79.89 kB / 496.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3996, allocations: 55.57 MB / 0.5391 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.003613/0.4032, allocations: 1.266 MB / 0.5403 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.4055, allocations: 1.243 MB / 0.5415 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.4056, allocations: 0 / 0.5415 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.4062, allocations: 79.8 kB / 0.5416 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.4076, allocations: 432.4 kB / 0.542 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.677e-06/0.4076, allocations: 0 / 0.542 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.409, allocations: 0.8083 MB / 0.5428 GB, free: 24.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.4091, allocations: 6.641 kB / 0.5428 GB, free: 24.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.4091, allocations: 14.22 kB / 0.5428 GB, free: 24.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.4092, allocations: 10.22 kB / 0.5428 GB, free: 24.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4092, allocations: 7.984 kB / 0.5428 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.4094, allocations: 51.45 kB / 0.5429 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.4094, allocations: 20.73 kB / 0.5429 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.4095, allocations: 14.94 kB / 0.5429 GB, free: 24.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.4097, allocations: 81.5 kB / 0.543 GB, free: 24.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4097, allocations: 3.281 kB / 0.543 GB, free: 24.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4097, allocations: 3.422 kB / 0.543 GB, free: 24.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4097, allocations: 0 / 0.543 GB, free: 24.36 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.0004091/0.4102, allocations: 385.3 kB / 0.5434 GB, free: 23.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4102, allocations: 13.72 kB / 0.5434 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.529e-05/0.4102, allocations: 75.47 kB / 0.5434 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.4103, allocations: 109.2 kB / 0.5435 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.4107, allocations: 103.1 kB / 0.5436 GB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.4112, allocations: 384.4 kB / 0.544 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4113, allocations: 154.9 kB / 0.5442 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.4113, allocations: 150.9 kB / 0.5443 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.4114, allocations: 104.9 kB / 0.5444 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.4114, allocations: 78.53 kB / 0.5445 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.4114, allocations: 150.6 kB / 0.5446 GB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.4115, allocations: 158.5 kB / 0.5448 GB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.4115, allocations: 154.5 kB / 0.5449 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.4117, allocations: 466.5 kB / 0.5454 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.4118, allocations: 165.1 kB / 0.5455 GB, free: 21.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.4118, allocations: 84.14 kB / 0.5456 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4118, allocations: 79.22 kB / 0.5457 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4119, allocations: 112.5 kB / 0.5458 GB, free: 21.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4119, allocations: 3.938 kB / 0.5458 GB, free: 21.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.581e-05/0.412, allocations: 32.84 kB / 0.5458 GB, free: 21.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.412, allocations: 126.7 kB / 0.5459 GB, free: 21.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4122, allocations: 166.1 kB / 0.5461 GB, free: 21.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.4122, allocations: 25.7 kB / 0.5461 GB, free: 21.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.4122, allocations: 102.6 kB / 0.5462 GB, free: 21.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.4122, allocations: 3.938 kB / 0.5462 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4122, allocations: 12.94 kB / 0.5462 GB, free: 21.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.4123, allocations: 321.5 kB / 0.5465 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.4123, allocations: 0 / 0.5465 GB, free: 20.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-06/0.4123, allocations: 0 / 0.5465 GB, free: 20.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.513e-05/0.4123, allocations: 75.28 kB / 0.5466 GB, free: 20.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4123, allocations: 83.28 kB / 0.5467 GB, free: 20.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.333e-05/0.4124, allocations: 43.66 kB / 0.5467 GB, free: 20.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4124, allocations: 80.91 kB / 0.5468 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4124, allocations: 75.28 kB / 0.5469 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/0.4125, allocations: 154.5 kB / 0.547 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.4125, allocations: 81.78 kB / 0.5471 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.4125, allocations: 158.6 kB / 0.5473 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.4126, allocations: 83.27 kB / 0.5473 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4126, allocations: 78.38 kB / 0.5474 GB, free: 19.83 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 0.0001003/0.4127, allocations: 270.2 kB / 0.5477 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.4128, allocations: 116 kB / 0.5478 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.4128, allocations: 115.2 kB / 0.5479 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.4129, allocations: 183.5 kB / 0.5481 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.189e-05/0.4129, allocations: 184.2 kB / 0.5482 GB, free: 18.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/0.4129, allocations: 179.3 kB / 0.5484 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4131, allocations: 424.4 kB / 0.5488 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.4131, allocations: 104.9 kB / 0.5489 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.4132, allocations: 105 kB / 0.549 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-05/0.4132, allocations: 183.5 kB / 0.5492 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.4132, allocations: 176.3 kB / 0.5494 GB, free: 17.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.223e-05/0.4133, allocations: 183.6 kB / 0.5495 GB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-05/0.4133, allocations: 179.6 kB / 0.5497 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.908e-05/0.4134, allocations: 317.4 kB / 0.55 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.4134, allocations: 193.9 kB / 0.5502 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.4135, allocations: 187.4 kB / 0.5504 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.4136, allocations: 105 kB / 0.5505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.4136, allocations: 183.7 kB / 0.5507 GB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4136, allocations: 108.7 kB / 0.5508 GB, free: 16.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.4137, allocations: 127.1 kB / 0.5509 GB, free: 16.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4137, allocations: 0 / 0.5509 GB, free: 16.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.414, allocations: 6.969 kB / 0.5509 GB, free: 16.15 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.0003166/0.4143, allocations: 0.8212 MB / 0.5517 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.4144, allocations: 0 / 0.5517 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4144, allocations: 0 / 0.5517 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.4144, allocations: 64 / 0.5517 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.4149, allocations: 471.2 kB / 0.5521 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4161, allocations: 1.803 MB / 0.5539 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.4162, allocations: 0.6948 MB / 0.5546 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.4163, allocations: 6.812 kB / 0.5546 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.4163, allocations: 15.44 kB / 0.5546 GB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4163, allocations: 0 / 0.5546 GB, free: 12.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.437, allocations: 1.834 MB / 0.5564 GB, free: 12.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.479/9.916, allocations: 15.77 kB / 0.5564 GB, free: 12.07 MB / 382.1 MB " [Timeout remaining time 650] (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.096386571007315] Failed to read output from testmodel.py, exit status != 0: 10.042406591994222 10.056396548 9.643556027 Calling exit ...