Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001818/0.001818, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.525/1.525, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001594/0.001594, allocations: 215.7 kB / 310 MB, free: 3.023 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.04165/0.04165, allocations: 8.923 MB / 375.3 MB, free: 6.586 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: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [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.00258/0.00258, allocations: 83.88 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09724, allocations: 55.6 MB / 0.5446 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002748/0.09999, allocations: 1.292 MB / 0.5459 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 5.468e-05/0.1, allocations: 7.984 kB / 0.5459 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1001, allocations: 0 / 0.5459 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.1001, allocations: 3.938 kB / 0.5459 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1002, allocations: 4 kB / 0.5459 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.486e-05/0.1002, allocations: 0 / 0.5459 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1003, allocations: 11.92 kB / 0.5459 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.1004, allocations: 4 kB / 0.5459 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.1004, allocations: 4 kB / 0.5459 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1004, allocations: 3.938 kB / 0.5459 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1004, allocations: 0 / 0.5459 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-06/0.1004, allocations: 4 kB / 0.5459 GB, free: 3.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1005, allocations: 0 / 0.5459 GB, free: 3.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1005, allocations: 7.984 kB / 0.546 GB, free: 3.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.1006, allocations: 7.875 kB / 0.546 GB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1006, allocations: 0 / 0.546 GB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1006, allocations: 4 kB / 0.546 GB, free: 3.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1006, allocations: 0 / 0.546 GB, free: 3.203 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004184/0.101, allocations: 242.4 kB / 0.5462 GB, free: 2.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.101, allocations: 15.98 kB / 0.5462 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1011, allocations: 4.891 kB / 0.5462 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1012, allocations: 102.5 kB / 0.5463 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1012, allocations: 8.375 kB / 0.5463 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1012, allocations: 384 / 0.5463 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.1013, allocations: 51.91 kB / 0.5464 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1013, allocations: 192 / 0.5464 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1013, allocations: 3.938 kB / 0.5464 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1013, allocations: 0 / 0.5464 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.1014, allocations: 4 kB / 0.5464 GB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1018, allocations: 427.3 kB / 0.5468 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1019, allocations: 169.1 kB / 0.547 GB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.1019, allocations: 84.08 kB / 0.547 GB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.102, allocations: 79.28 kB / 0.5471 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.102, allocations: 113.8 kB / 0.5472 GB, free: 1.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.102, allocations: 0 / 0.5472 GB, free: 1.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.11e-05/0.1021, allocations: 29.64 kB / 0.5472 GB, free: 1.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.1022, allocations: 134.6 kB / 0.5474 GB, free: 1.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1023, allocations: 105.8 kB / 0.5475 GB, free: 1.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1023, allocations: 25.7 kB / 0.5475 GB, free: 1.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.1024, allocations: 88.09 kB / 0.5476 GB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.1024, allocations: 0 / 0.5476 GB, free: 1.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1024, allocations: 21.67 kB / 0.5476 GB, free: 1.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1026, allocations: 318.8 kB / 0.5479 GB, free: 1.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-06/0.1026, allocations: 0 / 0.5479 GB, free: 1.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.1026, allocations: 13.72 kB / 0.5479 GB, free: 1.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.1027, allocations: 17.72 kB / 0.5479 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1027, allocations: 3.938 kB / 0.5479 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001235/0.1028, allocations: 45.62 kB / 0.548 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1028, allocations: 8 kB / 0.548 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1028, allocations: 0 / 0.548 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1028, allocations: 4.125 kB / 0.548 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.1029, allocations: 4 kB / 0.548 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1029, allocations: 0 / 0.548 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.1029, allocations: 0 / 0.548 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1029, allocations: 7.938 kB / 0.548 GB, free: 0.9141 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001238/0.103, allocations: 181.1 kB / 0.5482 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.1031, allocations: 112.9 kB / 0.5483 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.1032, allocations: 108.1 kB / 0.5484 GB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.581e-05/0.1033, allocations: 184.2 kB / 0.5486 GB, free: 320 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.985e-05/0.1034, allocations: 184.3 kB / 0.5487 GB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/0.1035, allocations: 184.2 kB / 0.5489 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1037, allocations: 356.9 kB / 0.5493 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/0.1038, allocations: 101 kB / 0.5494 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.1039, allocations: 108.9 kB / 0.5495 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-05/0.104, allocations: 180.3 kB / 0.5496 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.1041, allocations: 184.2 kB / 0.5498 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.048e-05/0.1041, allocations: 180.3 kB / 0.55 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.598e-05/0.1042, allocations: 180.2 kB / 0.5501 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1044, allocations: 300.1 kB / 0.5504 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.1045, allocations: 124.8 kB / 0.5506 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.1046, allocations: 176.3 kB / 0.5507 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.1047, allocations: 116.9 kB / 0.5508 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1048, allocations: 184.2 kB / 0.551 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.1049, allocations: 101 kB / 0.5511 GB, free: 13.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.1049, allocations: 87.52 kB / 0.5512 GB, free: 13.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1049, allocations: 0 / 0.5512 GB, free: 13.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.1051, allocations: 8 kB / 0.5512 GB, free: 13.46 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.0001297/0.1053, allocations: 170.5 kB / 0.5514 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.1053, allocations: 7.938 kB / 0.5514 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1053, allocations: 128 / 0.5514 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1053, allocations: 4 kB / 0.5514 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.1058, allocations: 457.7 kB / 0.5518 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.1061, allocations: 190 kB / 0.552 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.1061, allocations: 59.3 kB / 0.552 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.1062, allocations: 7.438 kB / 0.5521 GB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1062, allocations: 0 / 0.5521 GB, free: 12.52 MB / 382.1 MB Notification: Performance of Templates: time 0.001854/0.108, allocations: 411.9 kB / 0.5524 GB, free: 12.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1727656801231205] Failed to read output from testmodel.py, exit status != 0: 0.11608527135103941 0.308225486 0.028629868000000003 Calling exit ...