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.001414/0.001414, 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.615/1.615, 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.001758/0.001758, allocations: 208.7 kB / 310 MB, free: 3.07 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.04484/0.04484, allocations: 8.928 MB / 375.3 MB, free: 6.594 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.002641/0.002641, allocations: 79.88 kB / 0.4903 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09357, allocations: 55.61 MB / 0.5447 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002834/0.0964, allocations: 1.372 MB / 0.546 GB, free: 3.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.09791, allocations: 0.8372 MB / 0.5468 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.09795, allocations: 4 kB / 0.5468 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.09826, allocations: 87.62 kB / 0.5469 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.09835, allocations: 15.91 kB / 0.5469 GB, free: 2.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.099, allocations: 262.8 kB / 0.5472 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.09915, allocations: 39.84 kB / 0.5472 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.0992, allocations: 0 / 0.5472 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.0993, allocations: 19.88 kB / 0.5472 GB, free: 1.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.09935, allocations: 23.91 kB / 0.5472 GB, free: 1.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.09936, allocations: 0 / 0.5472 GB, free: 1.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.0996, allocations: 115.9 kB / 0.5474 GB, free: 1.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.09961, allocations: 7.938 kB / 0.5474 GB, free: 1.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.09964, allocations: 11.92 kB / 0.5474 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.0999, allocations: 143.5 kB / 0.5475 GB, free: 1.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.09991, allocations: 0 / 0.5475 GB, free: 1.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09991, allocations: 0 / 0.5475 GB, free: 1.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.09991, allocations: 0 / 0.5475 GB, free: 1.602 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.0009414/0.1009, allocations: 357.9 kB / 0.5478 GB, free: 1.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1009, allocations: 11.98 kB / 0.5479 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1009, allocations: 12.88 kB / 0.5479 GB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1011, allocations: 118.5 kB / 0.548 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1011, allocations: 384 / 0.548 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1011, allocations: 4.375 kB / 0.548 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1012, allocations: 57.98 kB / 0.548 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1012, allocations: 3.938 kB / 0.548 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1013, allocations: 4 kB / 0.5481 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1013, allocations: 0 / 0.5481 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.1014, allocations: 39.98 kB / 0.5481 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1015, allocations: 113.3 kB / 0.5482 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1017, allocations: 62.62 kB / 0.5483 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.1018, allocations: 28.97 kB / 0.5483 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1018, allocations: 0 / 0.5483 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1018, allocations: 34.56 kB / 0.5483 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1018, allocations: 3.938 kB / 0.5483 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002551/0.1021, allocations: 105.5 kB / 0.5484 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1021, allocations: 51.41 kB / 0.5485 GB, free: 496 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.1022, allocations: 105.8 kB / 0.5486 GB, free: 380 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1022, allocations: 29.7 kB / 0.5486 GB, free: 344 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.1023, allocations: 88.14 kB / 0.5487 GB, free: 252 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1023, allocations: 15.84 kB / 0.5487 GB, free: 236 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1023, allocations: 17.72 kB / 0.5487 GB, free: 212 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1025, allocations: 318.8 kB / 0.549 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.1026, allocations: 19.98 kB / 0.549 GB, free: 15.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.979e-05/0.1026, allocations: 16 kB / 0.5491 GB, free: 15.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1027, allocations: 53.41 kB / 0.5491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1027, allocations: 0 / 0.5491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001473/0.1028, allocations: 81.69 kB / 0.5492 GB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1029, allocations: 8 kB / 0.5492 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1029, allocations: 7.938 kB / 0.5492 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1029, allocations: 0 / 0.5492 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.103, allocations: 8 kB / 0.5492 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.103, allocations: 0 / 0.5492 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.103, allocations: 7.891 kB / 0.5492 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.103, allocations: 7.938 kB / 0.5492 GB, free: 15.67 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.154e-05/0.1031, allocations: 113.8 kB / 0.5493 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.1032, allocations: 7.984 kB / 0.5493 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.1034, allocations: 106 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1034, allocations: 0 / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1034, allocations: 4 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1034, allocations: 3.984 kB / 0.5494 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1035, allocations: 125.3 kB / 0.5496 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1035, allocations: 0 / 0.5496 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.1036, allocations: 15.98 kB / 0.5496 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1036, allocations: 0 / 0.5496 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1036, allocations: 0 / 0.5496 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1036, allocations: 3.938 kB / 0.5496 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1036, allocations: 7.875 kB / 0.5496 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.1038, allocations: 117.1 kB / 0.5497 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.1038, allocations: 7.953 kB / 0.5497 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1038, allocations: 4 kB / 0.5497 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.1039, allocations: 3.938 kB / 0.5497 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1039, allocations: 11.98 kB / 0.5497 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1039, allocations: 0 / 0.5497 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.217e-05/0.104, allocations: 83.27 kB / 0.5498 GB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.104, allocations: 0 / 0.5498 GB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1042, allocations: 16 kB / 0.5498 GB, free: 14.99 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.0001397/0.1043, allocations: 103.2 kB / 0.5499 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1045, allocations: 56.16 kB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1045, allocations: 4 kB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.1045, allocations: 27.98 kB / 0.55 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1047, allocations: 4.938 kB / 0.55 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.1051, allocations: 202.4 kB / 0.5502 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.1051, allocations: 67.34 kB / 0.5503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.1052, allocations: 19.42 kB / 0.5503 GB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1052, allocations: 0 / 0.5503 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.002732/0.1079, allocations: 0.9566 MB / 0.5512 GB, free: 13.5 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.261764763854444] Failed to read output from testmodel.py, exit status != 0: 0.11567866709083319 0.31417961199999994 0.02946379199999994 Calling exit ...