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.001659/0.001659, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001535/0.001535, allocations: 215.5 kB / 310 MB, free: 3.129 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.04139/0.04139, allocations: 8.919 MB / 375.4 MB, free: 6.559 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",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.002375/0.002375, allocations: 87.86 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09735, allocations: 55.61 MB / 0.5442 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002804/0.1002, allocations: 1.247 MB / 0.5454 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1022, allocations: 1.135 MB / 0.5465 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.1023, allocations: 0 / 0.5465 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1028, allocations: 87.92 kB / 0.5466 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1039, allocations: 406.5 kB / 0.547 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.1039, allocations: 4 kB / 0.547 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1056, allocations: 1.046 MB / 0.548 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1056, allocations: 7.984 kB / 0.548 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1056, allocations: 7.938 kB / 0.548 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.1057, allocations: 23.8 kB / 0.5481 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1057, allocations: 0 / 0.5481 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1059, allocations: 47.91 kB / 0.5481 GB, free: 1.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.1059, allocations: 19.92 kB / 0.5481 GB, free: 1.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.106, allocations: 19.86 kB / 0.5481 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1062, allocations: 75.69 kB / 0.5482 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1062, allocations: 0 / 0.5482 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1062, allocations: 4 kB / 0.5482 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1062, allocations: 0 / 0.5482 GB, free: 0.9062 MB / 366.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.0004505/0.1066, allocations: 313.8 kB / 0.5485 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.1067, allocations: 15.98 kB / 0.5485 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.817e-05/0.1067, allocations: 75.47 kB / 0.5486 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.1068, allocations: 110 kB / 0.5487 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.1072, allocations: 112.1 kB / 0.5488 GB, free: 260 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.1078, allocations: 322.2 kB / 0.5491 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.1079, allocations: 150.9 kB / 0.5493 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.108, allocations: 158.9 kB / 0.5494 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.108, allocations: 104.9 kB / 0.5495 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.1081, allocations: 79.28 kB / 0.5496 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.1082, allocations: 150.6 kB / 0.5497 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/0.1082, allocations: 150.6 kB / 0.5499 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.1083, allocations: 158.5 kB / 0.55 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1087, allocations: 429 kB / 0.5504 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1088, allocations: 177.1 kB / 0.5506 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.1089, allocations: 84.08 kB / 0.5507 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.1089, allocations: 83.22 kB / 0.5508 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.185e-05/0.109, allocations: 109.8 kB / 0.5509 GB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.109, allocations: 0 / 0.5509 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001004/0.1091, allocations: 41.59 kB / 0.5509 GB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1092, allocations: 130.6 kB / 0.551 GB, free: 13.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1094, allocations: 159.3 kB / 0.5512 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1094, allocations: 25.7 kB / 0.5512 GB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.1095, allocations: 104.1 kB / 0.5513 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.1095, allocations: 0 / 0.5513 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.1096, allocations: 17.72 kB / 0.5513 GB, free: 13.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1097, allocations: 322.8 kB / 0.5516 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.1097, allocations: 0 / 0.5516 GB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.1097, allocations: 4.047 kB / 0.5516 GB, free: 13.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.1098, allocations: 75.28 kB / 0.5517 GB, free: 13.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.1098, allocations: 75.28 kB / 0.5518 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.024e-05/0.1099, allocations: 41.59 kB / 0.5518 GB, free: 13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.1099, allocations: 79.28 kB / 0.5519 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/0.11, allocations: 87.14 kB / 0.552 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-05/0.1101, allocations: 158.6 kB / 0.5521 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.1101, allocations: 83.22 kB / 0.5522 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.288e-05/0.1102, allocations: 150.6 kB / 0.5524 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.1103, allocations: 75.28 kB / 0.5524 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1103, allocations: 87.22 kB / 0.5525 GB, free: 12.29 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.0002116/0.1105, allocations: 272.4 kB / 0.5528 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.1106, allocations: 112.9 kB / 0.5529 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.1107, allocations: 121.4 kB / 0.553 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.513e-05/0.1108, allocations: 176.3 kB / 0.5532 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/0.1109, allocations: 180.3 kB / 0.5533 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.535e-05/0.111, allocations: 180.2 kB / 0.5535 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.1113, allocations: 396.3 kB / 0.5539 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.009e-05/0.1114, allocations: 112.9 kB / 0.554 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1114, allocations: 105 kB / 0.5541 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1116, allocations: 192.2 kB / 0.5543 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.1117, allocations: 180.3 kB / 0.5544 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-05/0.1117, allocations: 176.3 kB / 0.5546 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.735e-05/0.1118, allocations: 184.5 kB / 0.5548 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.112, allocations: 315.7 kB / 0.5551 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.1121, allocations: 120.9 kB / 0.5552 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1122, allocations: 180.3 kB / 0.5554 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.1123, allocations: 104.9 kB / 0.5555 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.1124, allocations: 184.2 kB / 0.5557 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.1125, allocations: 104.9 kB / 0.5558 GB, free: 8.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1126, allocations: 128.9 kB / 0.5559 GB, free: 8.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1126, allocations: 0 / 0.5559 GB, free: 8.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1128, allocations: 4 kB / 0.5559 GB, free: 8.633 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.0005748/0.1134, allocations: 0.8125 MB / 0.5567 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.1134, allocations: 4 kB / 0.5567 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1134, allocations: 3.938 kB / 0.5567 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.1135, allocations: 4 kB / 0.5567 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.114, allocations: 473.5 kB / 0.5571 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1156, allocations: 1.828 MB / 0.5589 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.1157, allocations: 75.33 kB / 0.559 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.1157, allocations: 7.984 kB / 0.559 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1158, allocations: 23.38 kB / 0.559 GB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1158, allocations: 0 / 0.559 GB, free: 5.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1386, allocations: 2.052 MB / 0.561 GB, free: 3.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.14, allocations: 18.59 kB / 0.561 GB, free: 3.348 MB / 382.1 MB " [Timeout remaining time 649] (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.06042475393042] Failed to read output from testmodel.py, exit status != 0: 11.298067086027004 11.489882868 11.381119834 Calling exit ...