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.001999/0.001999, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.627/1.627, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.002405/0.002405, allocations: 227.6 kB / 309.2 MB, free: 2.949 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.04593/0.04593, allocations: 8.924 MB / 374.6 MB, free: 1.723 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.003129/0.003129, allocations: 87.86 kB / 0.4896 GB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3761, allocations: 55.61 MB / 0.5439 GB, free: 26.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002194/0.3783, allocations: 1.372 MB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3793, allocations: 0.8376 MB / 0.5461 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.3794, allocations: 3.938 kB / 0.5461 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3796, allocations: 84.64 kB / 0.5462 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.3797, allocations: 18.47 kB / 0.5462 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.3802, allocations: 262.4 kB / 0.5464 GB, free: 25.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3803, allocations: 45.58 kB / 0.5465 GB, free: 25.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.3803, allocations: 0 / 0.5465 GB, free: 25.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.3804, allocations: 21.73 kB / 0.5465 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.3804, allocations: 17.64 kB / 0.5465 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3804, allocations: 0 / 0.5465 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3806, allocations: 115.7 kB / 0.5466 GB, free: 25.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.3806, allocations: 7.938 kB / 0.5466 GB, free: 25.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.3807, allocations: 17.5 kB / 0.5466 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3809, allocations: 138 kB / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3809, allocations: 0 / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3809, allocations: 0 / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3809, allocations: 0 / 0.5468 GB, free: 25.12 MB / 382.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.0007378/0.3816, allocations: 358 kB / 0.5471 GB, free: 24.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3817, allocations: 12.28 kB / 0.5471 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.3817, allocations: 7.891 kB / 0.5471 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.182e-05/0.3817, allocations: 109.3 kB / 0.5472 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3818, allocations: 8.375 kB / 0.5472 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3818, allocations: 3.5 kB / 0.5472 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3819, allocations: 57.11 kB / 0.5473 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3819, allocations: 3.938 kB / 0.5473 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3819, allocations: 0 / 0.5473 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3819, allocations: 3.094 kB / 0.5473 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.382, allocations: 37.36 kB / 0.5473 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3821, allocations: 113.9 kB / 0.5474 GB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3822, allocations: 62.7 kB / 0.5475 GB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.3823, allocations: 26.17 kB / 0.5475 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3823, allocations: 7.219 kB / 0.5475 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.3823, allocations: 30.56 kB / 0.5476 GB, free: 24.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.3823, allocations: 0 / 0.5476 GB, free: 24.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002005/0.3825, allocations: 110.3 kB / 0.5477 GB, free: 24.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3825, allocations: 51.41 kB / 0.5477 GB, free: 24.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.3826, allocations: 107 kB / 0.5478 GB, free: 24.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.3826, allocations: 25.7 kB / 0.5479 GB, free: 24.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.3826, allocations: 84.14 kB / 0.5479 GB, free: 24.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3826, allocations: 19.02 kB / 0.5479 GB, free: 24.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3827, allocations: 20.33 kB / 0.548 GB, free: 24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.3827, allocations: 322 kB / 0.5483 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.3827, allocations: 16.52 kB / 0.5483 GB, free: 23.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3828, allocations: 18.31 kB / 0.5483 GB, free: 23.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.3829, allocations: 62.5 kB / 0.5484 GB, free: 23.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3829, allocations: 0 / 0.5484 GB, free: 23.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001078/0.383, allocations: 78.03 kB / 0.5484 GB, free: 23.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.383, allocations: 3.219 kB / 0.5484 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.383, allocations: 3.938 kB / 0.5484 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.383, allocations: 3.281 kB / 0.5485 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.3831, allocations: 13.77 kB / 0.5485 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3831, allocations: 0 / 0.5485 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.3831, allocations: 11.11 kB / 0.5485 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3832, allocations: 0 / 0.5485 GB, free: 23.57 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 4.754e-05/0.3832, allocations: 117 kB / 0.5486 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3832, allocations: 0 / 0.5486 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3834, allocations: 112.5 kB / 0.5487 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3834, allocations: 3.188 kB / 0.5487 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3834, allocations: 0 / 0.5487 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3834, allocations: 0 / 0.5487 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.989e-05/0.3835, allocations: 125.5 kB / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3835, allocations: 0 / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3835, allocations: 20.19 kB / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3835, allocations: 0 / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3836, allocations: 0 / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3836, allocations: 3.938 kB / 0.5488 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3836, allocations: 3.938 kB / 0.5488 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.3837, allocations: 118.5 kB / 0.549 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.3837, allocations: 7.891 kB / 0.549 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3837, allocations: 3.312 kB / 0.549 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.3838, allocations: 3.938 kB / 0.549 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.3838, allocations: 3.422 kB / 0.549 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.3838, allocations: 7.219 kB / 0.549 GB, free: 23.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.345e-05/0.3838, allocations: 89.53 kB / 0.5491 GB, free: 23.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3838, allocations: 0 / 0.5491 GB, free: 23.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.384, allocations: 16.73 kB / 0.5491 GB, free: 23.03 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.0001053/0.3841, allocations: 108.7 kB / 0.5492 GB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3842, allocations: 53.83 kB / 0.5492 GB, free: 22.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3842, allocations: 3.938 kB / 0.5492 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.3843, allocations: 23.91 kB / 0.5493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.3844, allocations: 7.094 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.3847, allocations: 172.8 kB / 0.5494 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.3848, allocations: 67.64 kB / 0.5495 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.3848, allocations: 7.25 kB / 0.5495 GB, free: 22.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.3848, allocations: 10.66 kB / 0.5495 GB, free: 22.68 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3848, allocations: 0 / 0.5495 GB, free: 22.68 MB / 382.1 MB Notification: Performance of Templates: time 0.003103/0.3879, allocations: 0.8126 MB / 0.5503 GB, free: 22.57 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: 5.396319190040231] Failed to read output from testmodel.py, exit status != 0: 0.397084828466177 0.40850626199999995 0.024729684000000002 Calling exit ...