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.001425/0.001425, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.55/1.55, allocations: 230.6 MB / 253.4 MB, free: 14.46 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.001968/0.001968, allocations: 215.5 kB / 310 MB, free: 3.121 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.04108/0.04108, allocations: 8.916 MB / 375.3 MB, free: 6.766 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.002416/0.002416, allocations: 83.88 kB / 0.4904 GB, free: 44.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1095, allocations: 55.62 MB / 0.5447 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002753/0.1122, allocations: 1.298 MB / 0.546 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 6.689e-05/0.1123, allocations: 7.938 kB / 0.546 GB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.1123, allocations: 0 / 0.546 GB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.1124, allocations: 0 / 0.546 GB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.1125, allocations: 4 kB / 0.546 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.743e-05/0.1125, allocations: 0 / 0.546 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.1126, allocations: 11.94 kB / 0.546 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.1126, allocations: 3.984 kB / 0.546 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.1127, allocations: 0 / 0.546 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.1127, allocations: 11.94 kB / 0.546 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1127, allocations: 0 / 0.546 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.1127, allocations: 0 / 0.546 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1128, allocations: 3.984 kB / 0.546 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1128, allocations: 7.938 kB / 0.546 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.58e-05/0.1128, allocations: 3.938 kB / 0.546 GB, free: 3.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1129, allocations: 3.984 kB / 0.546 GB, free: 3.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1129, allocations: 0 / 0.546 GB, free: 3.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1129, allocations: 8 kB / 0.546 GB, free: 3.359 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.0004108/0.1133, allocations: 234.5 kB / 0.5463 GB, free: 3.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1133, allocations: 11.98 kB / 0.5463 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1133, allocations: 8.891 kB / 0.5463 GB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1135, allocations: 114.4 kB / 0.5464 GB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1135, allocations: 384 / 0.5464 GB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1135, allocations: 8.312 kB / 0.5464 GB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1136, allocations: 47.98 kB / 0.5465 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1136, allocations: 192 / 0.5465 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1136, allocations: 3.938 kB / 0.5465 GB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1136, allocations: 0 / 0.5465 GB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.1137, allocations: 3.938 kB / 0.5465 GB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1141, allocations: 442.7 kB / 0.5469 GB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1142, allocations: 173.1 kB / 0.547 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.1143, allocations: 80.14 kB / 0.5471 GB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.1143, allocations: 75.28 kB / 0.5472 GB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/0.1144, allocations: 121.8 kB / 0.5473 GB, free: 1.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1144, allocations: 0 / 0.5473 GB, free: 1.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.192e-05/0.1145, allocations: 29.7 kB / 0.5473 GB, free: 1.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.1145, allocations: 126.7 kB / 0.5475 GB, free: 1.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1146, allocations: 105.8 kB / 0.5476 GB, free: 1.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1147, allocations: 25.7 kB / 0.5476 GB, free: 1.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.1147, allocations: 84.09 kB / 0.5477 GB, free: 1.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.1147, allocations: 4 kB / 0.5477 GB, free: 1.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1148, allocations: 13.72 kB / 0.5477 GB, free: 1.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1149, allocations: 310.8 kB / 0.548 GB, free: 1.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1149, allocations: 8.25 kB / 0.548 GB, free: 1.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.115, allocations: 13.66 kB / 0.548 GB, free: 1.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.115, allocations: 25.7 kB / 0.548 GB, free: 1.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.115, allocations: 3.938 kB / 0.548 GB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.1151, allocations: 49.59 kB / 0.5481 GB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1151, allocations: 8.125 kB / 0.5481 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1151, allocations: 0 / 0.5481 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1152, allocations: 0 / 0.5481 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.1152, allocations: 7.984 kB / 0.5481 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1152, allocations: 0 / 0.5481 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.1152, allocations: 7.984 kB / 0.5481 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1152, allocations: 0 / 0.5481 GB, free: 1.043 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.0001182/0.1154, allocations: 185.1 kB / 0.5483 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.1154, allocations: 108.9 kB / 0.5484 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1155, allocations: 112.1 kB / 0.5485 GB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.145e-05/0.1156, allocations: 176.3 kB / 0.5487 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.1157, allocations: 192.2 kB / 0.5488 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.934e-05/0.1158, allocations: 176.3 kB / 0.549 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.1161, allocations: 380.2 kB / 0.5494 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.135e-05/0.1162, allocations: 109 kB / 0.5495 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.1162, allocations: 101 kB / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.39e-05/0.1163, allocations: 184.1 kB / 0.5497 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.1164, allocations: 184.2 kB / 0.5499 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.546e-05/0.1165, allocations: 180.2 kB / 0.5501 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.874e-05/0.1166, allocations: 184.2 kB / 0.5503 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.1168, allocations: 307.9 kB / 0.5506 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1168, allocations: 105 kB / 0.5507 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1169, allocations: 192.2 kB / 0.5508 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.117, allocations: 101 kB / 0.5509 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.1171, allocations: 180.3 kB / 0.5511 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.1172, allocations: 108.9 kB / 0.5512 GB, free: 13.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.1172, allocations: 83.28 kB / 0.5513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1172, allocations: 0 / 0.5513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1174, allocations: 0 / 0.5513 GB, free: 13.57 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.0001392/0.1176, allocations: 174.5 kB / 0.5515 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.1177, allocations: 8 kB / 0.5515 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1177, allocations: 0 / 0.5515 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.1177, allocations: 3.938 kB / 0.5515 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1181, allocations: 464.9 kB / 0.5519 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1184, allocations: 178 kB / 0.5521 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1187, allocations: 0.673 MB / 0.5527 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.1188, allocations: 11.44 kB / 0.5528 GB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1188, allocations: 4 kB / 0.5528 GB, free: 12 MB / 382.1 MB Notification: Performance of Templates: time 0.001971/0.1207, allocations: 416.1 kB / 0.5532 GB, free: 11.59 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.117939845891669] Failed to read output from testmodel.py, exit status != 0: 0.12883992795832455 0.36520257999999994 0.24919814699999995 Calling exit ...