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.001611/0.001611, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.517/1.517, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001741/0.001741, allocations: 208.8 kB / 309.2 MB, free: 3.137 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.04253/0.04253, allocations: 8.924 MB / 374.6 MB, free: 1.895 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.00257/0.00257, allocations: 83.88 kB / 0.4897 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2932, allocations: 55.6 MB / 0.544 GB, free: 27.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002369/0.2955, allocations: 1.412 MB / 0.5453 GB, free: 26.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2966, allocations: 0.9389 MB / 0.5463 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.2966, allocations: 2.938 kB / 0.5463 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.2969, allocations: 88.28 kB / 0.5463 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.2969, allocations: 11.44 kB / 0.5464 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2975, allocations: 299.6 kB / 0.5466 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2976, allocations: 34.48 kB / 0.5467 GB, free: 25.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.2976, allocations: 3.094 kB / 0.5467 GB, free: 25.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.2977, allocations: 32.95 kB / 0.5467 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.2978, allocations: 7.062 kB / 0.5467 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2978, allocations: 2.969 kB / 0.5467 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.298, allocations: 131.5 kB / 0.5468 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.298, allocations: 0 / 0.5468 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.298, allocations: 15.22 kB / 0.5469 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.2983, allocations: 138.1 kB / 0.547 GB, free: 25.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2983, allocations: 0 / 0.547 GB, free: 25.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2983, allocations: 3.469 kB / 0.547 GB, free: 25.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2983, allocations: 0 / 0.547 GB, free: 25.03 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.0008837/0.2992, allocations: 368.7 kB / 0.5473 GB, free: 24.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2992, allocations: 12.91 kB / 0.5474 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.2993, allocations: 7.828 kB / 0.5474 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/0.2994, allocations: 109.9 kB / 0.5475 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2994, allocations: 384 / 0.5475 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2994, allocations: 7.578 kB / 0.5475 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2995, allocations: 61.84 kB / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2995, allocations: 4 kB / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2995, allocations: 0 / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2995, allocations: 0 / 0.5475 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.2996, allocations: 34.89 kB / 0.5476 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.2998, allocations: 151.2 kB / 0.5477 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3, allocations: 64.86 kB / 0.5478 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.3, allocations: 22.8 kB / 0.5478 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3, allocations: 0 / 0.5478 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3001, allocations: 41.66 kB / 0.5478 GB, free: 24.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.3001, allocations: 0 / 0.5478 GB, free: 24.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002375/0.3003, allocations: 105.7 kB / 0.5479 GB, free: 24.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.3003, allocations: 51.41 kB / 0.548 GB, free: 24.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.3004, allocations: 103.6 kB / 0.5481 GB, free: 24.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3004, allocations: 25.7 kB / 0.5481 GB, free: 23.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.3004, allocations: 87.33 kB / 0.5482 GB, free: 23.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3004, allocations: 22.08 kB / 0.5482 GB, free: 23.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.3005, allocations: 20.88 kB / 0.5482 GB, free: 23.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.3005, allocations: 318.3 kB / 0.5485 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.3006, allocations: 23.62 kB / 0.5486 GB, free: 23.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.3006, allocations: 17.08 kB / 0.5486 GB, free: 23.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.3007, allocations: 51.14 kB / 0.5486 GB, free: 23.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3007, allocations: 0 / 0.5486 GB, free: 23.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001132/0.3008, allocations: 81.53 kB / 0.5487 GB, free: 23.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3008, allocations: 10.91 kB / 0.5487 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3008, allocations: 0 / 0.5487 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3008, allocations: 7.219 kB / 0.5487 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3009, allocations: 9.812 kB / 0.5487 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3009, allocations: 0 / 0.5487 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.301, allocations: 7.328 kB / 0.5487 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.301, allocations: 4 kB / 0.5487 GB, free: 23.43 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 5.29e-05/0.301, allocations: 108.9 kB / 0.5489 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3011, allocations: 3.938 kB / 0.5489 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.3012, allocations: 110.7 kB / 0.549 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3012, allocations: 4 kB / 0.549 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3012, allocations: 0 / 0.549 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3012, allocations: 3.469 kB / 0.549 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.3013, allocations: 154.9 kB / 0.5491 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3013, allocations: 0 / 0.5491 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.3014, allocations: 13.27 kB / 0.5491 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3014, allocations: 3.938 kB / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3014, allocations: 3.062 kB / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3014, allocations: 0 / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3014, allocations: 0 / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3016, allocations: 127.1 kB / 0.5493 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.3016, allocations: 18.28 kB / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3016, allocations: 0 / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.3016, allocations: 0 / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.3017, allocations: 6.672 kB / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3017, allocations: 11.25 kB / 0.5493 GB, free: 22.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.3017, allocations: 78.53 kB / 0.5494 GB, free: 22.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3017, allocations: 0 / 0.5494 GB, free: 22.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3019, allocations: 15.34 kB / 0.5494 GB, free: 22.86 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 9.151e-05/0.302, allocations: 106.3 kB / 0.5495 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3021, allocations: 52.44 kB / 0.5495 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.3022, allocations: 4 kB / 0.5495 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.3022, allocations: 28.56 kB / 0.5496 GB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3024, allocations: 5.547 kB / 0.5496 GB, free: 22.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3027, allocations: 180.7 kB / 0.5497 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3028, allocations: 0.685 MB / 0.5504 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.3028, allocations: 10.27 kB / 0.5504 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.3029, allocations: 14.47 kB / 0.5504 GB, free: 21.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3029, allocations: 0 / 0.5504 GB, free: 21.88 MB / 382.1 MB Notification: Performance of Templates: time 0.00346/0.3063, allocations: 0.8411 MB / 0.5513 GB, free: 21.77 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: 4.920575551921502] Failed to read output from testmodel.py, exit status != 0: 0.31449609296396375 0.32658856399999997 0.024882831 Calling exit ...