Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.001387/0.001387, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.471/1.471, allocations: 230.6 MB / 253.4 MB, free: 14.47 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.001602/0.001602, allocations: 210.2 kB / 310 MB, free: 3.125 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.04146/0.04146, allocations: 8.918 MB / 375.3 MB, free: 6.758 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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [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.002454/0.002454, allocations: 91.88 kB / 0.4904 GB, free: 44.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1055, allocations: 55.61 MB / 0.5447 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002787/0.1082, allocations: 1.409 MB / 0.5461 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1098, allocations: 0.9383 MB / 0.547 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.1098, allocations: 4 kB / 0.547 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1102, allocations: 91.61 kB / 0.5471 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.137e-05/0.1102, allocations: 15.91 kB / 0.5471 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.111, allocations: 286.8 kB / 0.5474 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1112, allocations: 35.8 kB / 0.5474 GB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.1113, allocations: 4 kB / 0.5474 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1115, allocations: 31.84 kB / 0.5475 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.1115, allocations: 15.94 kB / 0.5475 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1116, allocations: 0 / 0.5475 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.112, allocations: 127.8 kB / 0.5476 GB, free: 1.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.112, allocations: 4 kB / 0.5476 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.112, allocations: 11.88 kB / 0.5476 GB, free: 1.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1124, allocations: 139.6 kB / 0.5477 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1124, allocations: 0 / 0.5477 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1124, allocations: 0 / 0.5477 GB, free: 1.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1124, allocations: 0 / 0.5477 GB, free: 1.594 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001227/0.1137, allocations: 366.9 kB / 0.5481 GB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1137, allocations: 11.98 kB / 0.5481 GB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.1138, allocations: 4.891 kB / 0.5481 GB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1139, allocations: 114.5 kB / 0.5482 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1139, allocations: 384 / 0.5482 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.114, allocations: 4.375 kB / 0.5482 GB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1141, allocations: 61.92 kB / 0.5483 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1141, allocations: 4 kB / 0.5483 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1141, allocations: 4 kB / 0.5483 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1141, allocations: 0 / 0.5483 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.1142, allocations: 35.98 kB / 0.5483 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.1145, allocations: 156.7 kB / 0.5485 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1147, allocations: 66.5 kB / 0.5485 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1147, allocations: 24.98 kB / 0.5486 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1148, allocations: 0 / 0.5486 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1148, allocations: 38.5 kB / 0.5486 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1148, allocations: 0 / 0.5486 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002906/0.1151, allocations: 109.6 kB / 0.5487 GB, free: 496 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1151, allocations: 55.34 kB / 0.5488 GB, free: 428 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.1152, allocations: 110.1 kB / 0.5489 GB, free: 308 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1152, allocations: 25.7 kB / 0.5489 GB, free: 276 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1153, allocations: 80.14 kB / 0.549 GB, free: 192 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1153, allocations: 23.86 kB / 0.549 GB, free: 168 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1154, allocations: 21.7 kB / 0.549 GB, free: 140 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1155, allocations: 314.8 kB / 0.5493 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.1156, allocations: 12 kB / 0.5493 GB, free: 15.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.1156, allocations: 23.98 kB / 0.5493 GB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.1157, allocations: 44.86 kB / 0.5494 GB, free: 15.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1157, allocations: 0 / 0.5494 GB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001331/0.1159, allocations: 81.62 kB / 0.5495 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1159, allocations: 11.94 kB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1159, allocations: 4 kB / 0.5495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1159, allocations: 3.938 kB / 0.5495 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.116, allocations: 11.98 kB / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.116, allocations: 0 / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1161, allocations: 3.953 kB / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1161, allocations: 4 kB / 0.5495 GB, free: 15.61 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 (6): * Single equations (assignments): 6 * 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 9.339e-05/0.1162, allocations: 113.8 kB / 0.5496 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1162, allocations: 7.938 kB / 0.5496 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1164, allocations: 113.9 kB / 0.5497 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1164, allocations: 0 / 0.5497 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1164, allocations: 3.984 kB / 0.5497 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1164, allocations: 0 / 0.5497 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1166, allocations: 152.7 kB / 0.5499 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1166, allocations: 0 / 0.5499 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.1167, allocations: 12 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1167, allocations: 3.938 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1167, allocations: 4.438 kB / 0.5499 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1167, allocations: 0 / 0.5499 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1167, allocations: 0 / 0.5499 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1169, allocations: 129 kB / 0.55 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.1169, allocations: 15.89 kB / 0.55 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1169, allocations: 4 kB / 0.55 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.1169, allocations: 0 / 0.55 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.117, allocations: 7.984 kB / 0.55 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.117, allocations: 0 / 0.55 GB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.117, allocations: 83.28 kB / 0.5501 GB, free: 14.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.117, allocations: 0 / 0.5501 GB, free: 14.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.1172, allocations: 20 kB / 0.5501 GB, free: 14.88 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 (8): * Single equations (assignments): 8 * 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.0001445/0.1174, allocations: 103.2 kB / 0.5502 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1175, allocations: 51.98 kB / 0.5503 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1175, allocations: 0 / 0.5503 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.1176, allocations: 31.94 kB / 0.5503 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1178, allocations: 9.078 kB / 0.5503 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.1182, allocations: 198.5 kB / 0.5505 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1185, allocations: 0.6807 MB / 0.5512 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.1185, allocations: 15.38 kB / 0.5512 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1185, allocations: 4 kB / 0.5512 GB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002652/0.1212, allocations: 0.9405 MB / 0.5521 GB, free: 12.79 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.363012489164248] Failed to read output from testmodel.py, exit status != 0: 0.1291178499814123 0.35942237800000004 0.029295308000000003 Calling exit ...