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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 118.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.7 kB / 300.5 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04333/0.04333, allocations: 8.935 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 83.3 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08975, allocations: 54.4 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002515/0.09226, allocations: 1.25 MB / 0.5301 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.09439, allocations: 1.165 MB / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.09442, allocations: 0 / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.09484, allocations: 83.55 kB / 0.5314 GB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.0959, allocations: 398.5 kB / 0.5317 GB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.205e-05/0.09591, allocations: 0 / 0.5317 GB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.09761, allocations: 0.9676 MB / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.09767, allocations: 4 kB / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.09769, allocations: 7.938 kB / 0.5327 GB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.09773, allocations: 23.86 kB / 0.5327 GB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.09774, allocations: 7.938 kB / 0.5327 GB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.09789, allocations: 31.98 kB / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.09796, allocations: 31.89 kB / 0.5328 GB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.09798, allocations: 15.81 kB / 0.5328 GB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.09817, allocations: 79.67 kB / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.09817, allocations: 0 / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09817, allocations: 0 / 0.5329 GB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09818, allocations: 0 / 0.5329 GB, free: 12.77 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.0004563/0.09863, allocations: 386.8 kB / 0.5332 GB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.09867, allocations: 19.97 kB / 0.5333 GB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.09903, allocations: 112.1 kB / 0.5334 GB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.09953, allocations: 340.1 kB / 0.5337 GB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.0996, allocations: 150.9 kB / 0.5338 GB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.09966, allocations: 150.9 kB / 0.534 GB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.467e-05/0.09974, allocations: 125.2 kB / 0.5341 GB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.09978, allocations: 75.28 kB / 0.5342 GB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.09985, allocations: 150.6 kB / 0.5343 GB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.09991, allocations: 150.6 kB / 0.5345 GB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.09998, allocations: 150.6 kB / 0.5346 GB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1004, allocations: 473.9 kB / 0.5351 GB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.1004, allocations: 169.1 kB / 0.5352 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1005, allocations: 80.14 kB / 0.5353 GB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1005, allocations: 79.28 kB / 0.5354 GB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.1006, allocations: 113.8 kB / 0.5355 GB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1006, allocations: 0 / 0.5355 GB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.51e-05/0.1007, allocations: 33.66 kB / 0.5355 GB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.1007, allocations: 134.7 kB / 0.5356 GB, free: 9.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1009, allocations: 168 kB / 0.5358 GB, free: 9.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1009, allocations: 25.7 kB / 0.5358 GB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.101, allocations: 104.1 kB / 0.5359 GB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.101, allocations: 7.875 kB / 0.5359 GB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.101, allocations: 13.72 kB / 0.5359 GB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1012, allocations: 322.8 kB / 0.5363 GB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.1012, allocations: 0 / 0.5363 GB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-06/0.1012, allocations: 0 / 0.5363 GB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.1012, allocations: 75.28 kB / 0.5363 GB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/0.1013, allocations: 75.28 kB / 0.5364 GB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.761e-05/0.1013, allocations: 37.66 kB / 0.5364 GB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.1014, allocations: 83.22 kB / 0.5365 GB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/0.1014, allocations: 83.22 kB / 0.5366 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.511e-05/0.1015, allocations: 158.6 kB / 0.5367 GB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.1015, allocations: 79.27 kB / 0.5368 GB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.356e-05/0.1016, allocations: 154.5 kB / 0.537 GB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.1017, allocations: 75.28 kB / 0.537 GB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1017, allocations: 87.27 kB / 0.5371 GB, free: 8.176 MB / 350.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.0001683/0.1019, allocations: 276.3 kB / 0.5374 GB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.102, allocations: 116.8 kB / 0.5375 GB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.102, allocations: 121.5 kB / 0.5376 GB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.027e-05/0.1021, allocations: 180.2 kB / 0.5378 GB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.996e-05/0.1022, allocations: 176.3 kB / 0.538 GB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.184e-05/0.1023, allocations: 184.2 kB / 0.5381 GB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.1026, allocations: 421.2 kB / 0.5385 GB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-05/0.1026, allocations: 109 kB / 0.5386 GB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.1027, allocations: 104.9 kB / 0.5387 GB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-05/0.1028, allocations: 184.2 kB / 0.5389 GB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/0.1028, allocations: 188.2 kB / 0.5391 GB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-05/0.1029, allocations: 180.3 kB / 0.5393 GB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.038e-05/0.103, allocations: 180.2 kB / 0.5394 GB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1032, allocations: 307.8 kB / 0.5397 GB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1033, allocations: 193.9 kB / 0.5399 GB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.1034, allocations: 184.3 kB / 0.5401 GB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.1035, allocations: 108.9 kB / 0.5402 GB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1036, allocations: 176.3 kB / 0.5404 GB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.1036, allocations: 105 kB / 0.5405 GB, free: 4.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1037, allocations: 124 kB / 0.5406 GB, free: 4.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1037, allocations: 0 / 0.5406 GB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.104, allocations: 7.938 kB / 0.5406 GB, free: 4.398 MB / 350.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.0001491/0.1041, allocations: 186.4 kB / 0.5408 GB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.314e-05/0.1042, allocations: 4 kB / 0.5408 GB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1042, allocations: 3.938 kB / 0.5408 GB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1042, allocations: 0.5156 kB / 0.5408 GB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.1047, allocations: 467.7 kB / 0.5412 GB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.105, allocations: 278.3 kB / 0.5415 GB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1054, allocations: 0.7 MB / 0.5422 GB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.1054, allocations: 7.438 kB / 0.5422 GB, free: 2.695 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1054, allocations: 0 / 0.5422 GB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.002554/0.108, allocations: 0.8601 MB / 0.543 GB, free: 1.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.036155004054308] Failed to read output from testmodel.py, exit status != 0: 0.2574126860126853 0.12946728600000001 0.028349246 Calling exit ...