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.001718/0.001718, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 14.3 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.002495/0.002495, allocations: 207.4 kB / 309.2 MB, free: 3.141 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.04365/0.04365, allocations: 8.925 MB / 374.6 MB, free: 6.609 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.002767/0.002767, allocations: 87.86 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.09108, allocations: 55.6 MB / 0.5434 GB, free: 5.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002766/0.09384, allocations: 1.265 MB / 0.5447 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.09628, allocations: 1.131 MB / 0.5458 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.09634, allocations: 3.938 kB / 0.5458 GB, free: 2.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.09687, allocations: 79.97 kB / 0.5458 GB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.09814, allocations: 410.5 kB / 0.5462 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.741e-06/0.09814, allocations: 0 / 0.5462 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.09985, allocations: 1.046 MB / 0.5473 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.0999, allocations: 4 kB / 0.5473 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.09993, allocations: 11.94 kB / 0.5473 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.09997, allocations: 23.86 kB / 0.5473 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.09998, allocations: 0 / 0.5473 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1001, allocations: 39.97 kB / 0.5473 GB, free: 1.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1002, allocations: 19.92 kB / 0.5474 GB, free: 1.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.1002, allocations: 23.84 kB / 0.5474 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1004, allocations: 71.64 kB / 0.5474 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1005, allocations: 3.984 kB / 0.5474 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1005, allocations: 4 kB / 0.5475 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1005, allocations: 0 / 0.5475 GB, free: 0.9414 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.0004016/0.1009, allocations: 309.8 kB / 0.5477 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1009, allocations: 15.98 kB / 0.5478 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.101, allocations: 110 kB / 0.5479 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.1014, allocations: 112.1 kB / 0.548 GB, free: 376 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.1019, allocations: 322.1 kB / 0.5483 GB, free: 24 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/0.102, allocations: 150.9 kB / 0.5484 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.1021, allocations: 154.9 kB / 0.5486 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.1022, allocations: 113.1 kB / 0.5487 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.1022, allocations: 75.28 kB / 0.5488 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.1023, allocations: 158.6 kB / 0.5489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/0.1023, allocations: 150.6 kB / 0.549 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.1024, allocations: 154.5 kB / 0.5492 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.1027, allocations: 433 kB / 0.5496 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1029, allocations: 169.1 kB / 0.5498 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.1029, allocations: 80.14 kB / 0.5498 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1029, allocations: 79.22 kB / 0.5499 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/0.103, allocations: 121.7 kB / 0.55 GB, free: 14.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.103, allocations: 3.938 kB / 0.55 GB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.1031, allocations: 37.61 kB / 0.5501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.1032, allocations: 134.7 kB / 0.5502 GB, free: 13.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1034, allocations: 163.3 kB / 0.5504 GB, free: 13.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1034, allocations: 25.7 kB / 0.5504 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1035, allocations: 100.1 kB / 0.5505 GB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.1035, allocations: 0 / 0.5505 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.1035, allocations: 13.72 kB / 0.5505 GB, free: 13.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1036, allocations: 318.8 kB / 0.5508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/0.1036, allocations: 0 / 0.5508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.1036, allocations: 4 kB / 0.5508 GB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.1037, allocations: 75.33 kB / 0.5509 GB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-05/0.1037, allocations: 83.22 kB / 0.551 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.19e-05/0.1038, allocations: 41.59 kB / 0.551 GB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.1038, allocations: 87.27 kB / 0.5511 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/0.1039, allocations: 75.28 kB / 0.5511 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.233e-05/0.1039, allocations: 158.5 kB / 0.5513 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.104, allocations: 83.28 kB / 0.5514 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.15e-05/0.104, allocations: 154.5 kB / 0.5515 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.1041, allocations: 75.28 kB / 0.5516 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.1042, allocations: 75.28 kB / 0.5517 GB, free: 12.4 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.0001498/0.1043, allocations: 272.4 kB / 0.5519 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.1044, allocations: 120.8 kB / 0.552 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.1044, allocations: 121.5 kB / 0.5522 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.238e-05/0.1045, allocations: 180.2 kB / 0.5523 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.067e-05/0.1046, allocations: 180.3 kB / 0.5525 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/0.1047, allocations: 180.2 kB / 0.5527 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.105, allocations: 392.2 kB / 0.553 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-05/0.105, allocations: 101 kB / 0.5531 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1051, allocations: 116.8 kB / 0.5533 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.1051, allocations: 176.3 kB / 0.5534 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.1052, allocations: 184.3 kB / 0.5536 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.1053, allocations: 184.2 kB / 0.5538 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.1054, allocations: 180.3 kB / 0.5539 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1056, allocations: 316.1 kB / 0.5542 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1056, allocations: 120.9 kB / 0.5544 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.1057, allocations: 184.1 kB / 0.5545 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.1058, allocations: 109 kB / 0.5546 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.1059, allocations: 180.2 kB / 0.5548 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.1059, allocations: 101 kB / 0.5549 GB, free: 8.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1061, allocations: 132.8 kB / 0.555 GB, free: 8.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1061, allocations: 0 / 0.555 GB, free: 8.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1063, allocations: 4 kB / 0.555 GB, free: 8.746 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.0004656/0.1068, allocations: 0.8203 MB / 0.5558 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.1068, allocations: 4 kB / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1068, allocations: 0 / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.1069, allocations: 0 / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.1073, allocations: 469.5 kB / 0.5563 GB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.109, allocations: 1.82 MB / 0.5581 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.569e-05/0.109, allocations: 83.27 kB / 0.5582 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.1091, allocations: 11.97 kB / 0.5582 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.1091, allocations: 19.44 kB / 0.5582 GB, free: 5.398 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1091, allocations: 0 / 0.5582 GB, free: 5.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.1393, allocations: 2.396 MB / 0.5605 GB, free: 3.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.08, allocations: 4 kB / 0.5605 GB, free: 3.121 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestSingleLayer12over12_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.043532480951399] Failed to read output from testmodel.py, exit status != 0: 11.185801165178418 11.373540358 11.270603166 Calling exit ...