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.001476/0.001476, allocations: 107.5 kB / 16.45 MB, free: 6.512 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.529/1.529, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001622/0.001622, allocations: 208.6 kB / 306 MB, free: 4.293 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.05243/0.05243, allocations: 8.906 MB / 371 MB, free: 3.426 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.002361/0.002361, allocations: 82.34 kB / 495.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09529, allocations: 55.58 MB / 0.5384 GB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002246/0.09753, allocations: 1.257 MB / 0.5396 GB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.09954, allocations: 1.247 MB / 0.5408 GB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.09957, allocations: 0 / 0.5408 GB, free: 3.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.09997, allocations: 79.91 kB / 0.5409 GB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.1009, allocations: 429.8 kB / 0.5413 GB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.1009, allocations: 0 / 0.5413 GB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.1025, allocations: 1.03 MB / 0.5423 GB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1025, allocations: 4 kB / 0.5423 GB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.1025, allocations: 11.88 kB / 0.5423 GB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.1026, allocations: 15.86 kB / 0.5423 GB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.1026, allocations: 4 kB / 0.5423 GB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1027, allocations: 47.97 kB / 0.5424 GB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1028, allocations: 23.91 kB / 0.5424 GB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1028, allocations: 15.81 kB / 0.5424 GB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.103, allocations: 83.67 kB / 0.5425 GB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.103, allocations: 3.938 kB / 0.5425 GB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.103, allocations: 3.938 kB / 0.5425 GB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.103, allocations: 0 / 0.5425 GB, free: 2.211 MB / 350.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.0004043/0.1034, allocations: 386.9 kB / 0.5429 GB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1034, allocations: 8.031 kB / 0.5429 GB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1035, allocations: 110 kB / 0.543 GB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.1038, allocations: 108.1 kB / 0.5431 GB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.1043, allocations: 383.9 kB / 0.5435 GB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.1044, allocations: 150.9 kB / 0.5436 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.1045, allocations: 154.9 kB / 0.5438 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.582e-05/0.1045, allocations: 105.1 kB / 0.5439 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.1046, allocations: 75.28 kB / 0.5439 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.1047, allocations: 158.5 kB / 0.5441 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/0.1047, allocations: 150.6 kB / 0.5442 GB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.1048, allocations: 158.5 kB / 0.5444 GB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1052, allocations: 469.9 kB / 0.5448 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.1053, allocations: 177.1 kB / 0.545 GB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1053, allocations: 80.14 kB / 0.5451 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1054, allocations: 75.28 kB / 0.5451 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.1054, allocations: 113.8 kB / 0.5452 GB, free: 15.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1054, allocations: 0 / 0.5452 GB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.782e-05/0.1055, allocations: 41.55 kB / 0.5453 GB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.1056, allocations: 126.7 kB / 0.5454 GB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1058, allocations: 172.3 kB / 0.5456 GB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1058, allocations: 25.7 kB / 0.5456 GB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.1059, allocations: 108.1 kB / 0.5457 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.1059, allocations: 0 / 0.5457 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.1059, allocations: 13.72 kB / 0.5457 GB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1061, allocations: 318.8 kB / 0.546 GB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.1061, allocations: 3.938 kB / 0.546 GB, free: 14.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.1061, allocations: 0 / 0.546 GB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.1061, allocations: 79.28 kB / 0.5461 GB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/0.1062, allocations: 79.27 kB / 0.5462 GB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.733e-05/0.1062, allocations: 45.53 kB / 0.5462 GB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.1063, allocations: 83.28 kB / 0.5463 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/0.1063, allocations: 75.28 kB / 0.5464 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.109e-05/0.1064, allocations: 150.6 kB / 0.5465 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.1064, allocations: 83.22 kB / 0.5466 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-05/0.1065, allocations: 150.6 kB / 0.5467 GB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.1066, allocations: 79.22 kB / 0.5468 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.1066, allocations: 83.27 kB / 0.5469 GB, free: 13.47 MB / 366.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.0001574/0.1068, allocations: 273.3 kB / 0.5471 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.1069, allocations: 116.8 kB / 0.5473 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.1069, allocations: 113.5 kB / 0.5474 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.498e-05/0.107, allocations: 180.3 kB / 0.5475 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.24e-05/0.1071, allocations: 184.2 kB / 0.5477 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-05/0.1072, allocations: 184.3 kB / 0.5479 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1075, allocations: 429.2 kB / 0.5483 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/0.1075, allocations: 101 kB / 0.5484 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.1076, allocations: 104.9 kB / 0.5485 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.1077, allocations: 184.2 kB / 0.5487 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.1077, allocations: 180.3 kB / 0.5488 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.179e-05/0.1078, allocations: 184.1 kB / 0.549 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-05/0.1079, allocations: 184.2 kB / 0.5492 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1081, allocations: 307.7 kB / 0.5495 GB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.1082, allocations: 194 kB / 0.5497 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/0.1083, allocations: 184.2 kB / 0.5499 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.1083, allocations: 105.4 kB / 0.55 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.1084, allocations: 180.3 kB / 0.5501 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.1085, allocations: 108.9 kB / 0.5502 GB, free: 9.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1086, allocations: 127.9 kB / 0.5503 GB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1086, allocations: 0 / 0.5503 GB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1089, allocations: 8 kB / 0.5504 GB, free: 9.688 MB / 366.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.0004724/0.1093, allocations: 0.8165 MB / 0.5512 GB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.502e-05/0.1094, allocations: 7.938 kB / 0.5512 GB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1094, allocations: 0 / 0.5512 GB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1094, allocations: 4 kB / 0.5512 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.1099, allocations: 466 kB / 0.5516 GB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1113, allocations: 1.821 MB / 0.5534 GB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1117, allocations: 0.6963 MB / 0.5541 GB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.1117, allocations: 11.98 kB / 0.5541 GB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1117, allocations: 27.42 kB / 0.5541 GB, free: 5.711 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1117, allocations: 0 / 0.5541 GB, free: 5.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1356, allocations: 1.84 MB / 0.5559 GB, free: 3.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.184, allocations: 4.828 kB / 0.5559 GB, free: 3.957 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.093632946009166] Failed to read output from testmodel.py, exit status != 0: 8.2533391629986 8.279108086 8.171403777 Calling exit ...