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.0008961/0.0008961, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.9804/0.9804, allocations: 177.2 MB / 200.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.001098/0.001098, allocations: 156.6 kB / 257 MB, free: 12.99 MB / 250.7 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.02421/0.02421, allocations: 6.659 MB / 266.9 MB, free: 3.242 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 285.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.322e-05, allocations: 9.766 kB / 285.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.1027/0.1027, allocations: 1.393 MB / 287 MB, free: 21.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.1036, allocations: 0.8912 MB / 287.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1036, allocations: 1.812 kB / 287.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1038, allocations: 95.72 kB / 288 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.1039, allocations: 14.5 kB / 288 MB, free: 21.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1043, allocations: 270.3 kB / 288.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1044, allocations: 45.41 kB / 288.3 MB, free: 21.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.1044, allocations: 7.781 kB / 288.3 MB, free: 21.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.1045, allocations: 30.06 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.1045, allocations: 8.125 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1046, allocations: 1.531 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1047, allocations: 123.8 kB / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.1047, allocations: 2.688 kB / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.1048, allocations: 8.969 kB / 288.5 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1049, allocations: 145.8 kB / 288.6 MB, free: 20.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1049, allocations: 2.031 kB / 288.6 MB, free: 20.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1049, allocations: 0.6562 kB / 288.6 MB, free: 20.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.1049, allocations: 0 / 288.6 MB, free: 20.94 MB / 266.7 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.0004745/0.1054, allocations: 347.4 kB / 289 MB, free: 20.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.1054, allocations: 9.125 kB / 289 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.1055, allocations: 4.062 kB / 289 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.829e-05/0.1055, allocations: 108.3 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1055, allocations: 6.656 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1055, allocations: 2.5 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.323e-05/0.1056, allocations: 47.73 kB / 289.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-06/0.1056, allocations: 1.312 kB / 289.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.1056, allocations: 2.219 kB / 289.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1056, allocations: 5.062 kB / 289.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.1056, allocations: 12.14 kB / 289.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.494e-05/0.1057, allocations: 78.81 kB / 289.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.1058, allocations: 49.08 kB / 289.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.1058, allocations: 16.81 kB / 289.3 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1058, allocations: 4.719 kB / 289.3 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.1058, allocations: 32.05 kB / 289.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.1058, allocations: 3.938 kB / 289.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.922e-05/0.1059, allocations: 58.45 kB / 289.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.106, allocations: 52.56 kB / 289.5 MB, free: 20.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.957e-05/0.106, allocations: 105.4 kB / 289.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-06/0.106, allocations: 27.08 kB / 289.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-06/0.106, allocations: 86.11 kB / 289.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.106, allocations: 22.31 kB / 289.7 MB, free: 20.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.106, allocations: 19.19 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.538e-05/0.1061, allocations: 324 kB / 290 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.1061, allocations: 6.297 kB / 290 MB, free: 19.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.1061, allocations: 6.953 kB / 290.1 MB, free: 19.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.1061, allocations: 25.33 kB / 290.1 MB, free: 19.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1061, allocations: 0.9375 kB / 290.1 MB, free: 19.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.692e-05/0.1062, allocations: 52.89 kB / 290.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.1062, allocations: 4.438 kB / 290.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1062, allocations: 1.641 kB / 290.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1062, allocations: 1.062 kB / 290.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.1063, allocations: 12.94 kB / 290.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.1063, allocations: 1.594 kB / 290.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1063, allocations: 6.844 kB / 290.2 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.1063, allocations: 1.156 kB / 290.2 MB, free: 19.64 MB / 266.7 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 2.984e-05/0.1063, allocations: 112.5 kB / 290.3 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.1063, allocations: 4.734 kB / 290.3 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.1064, allocations: 76.52 kB / 290.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1064, allocations: 2 kB / 290.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1064, allocations: 0.5156 kB / 290.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1064, allocations: 3.844 kB / 290.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.279e-05/0.1065, allocations: 84.98 kB / 290.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1065, allocations: 1.25 kB / 290.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1065, allocations: 15.77 kB / 290.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1065, allocations: 1.25 kB / 290.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.1065, allocations: 0 / 290.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1065, allocations: 3.781 kB / 290.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1065, allocations: 0 / 290.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.1066, allocations: 84.36 kB / 290.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.1066, allocations: 11.98 kB / 290.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.1066, allocations: 1.844 kB / 290.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.1066, allocations: 1.25 kB / 290.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1066, allocations: 5.062 kB / 290.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1066, allocations: 5.875 kB / 290.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.738e-06/0.1066, allocations: 19.47 kB / 290.6 MB, free: 19.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1066, allocations: 0.5938 kB / 290.6 MB, free: 19.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001039/0.1067, allocations: 11.72 kB / 290.6 MB, free: 19.31 MB / 266.7 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 8.127e-05/0.1068, allocations: 94.45 kB / 290.7 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.1069, allocations: 29.25 kB / 290.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1069, allocations: 0 / 290.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.1069, allocations: 29.53 kB / 290.7 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.106e-05/0.1069, allocations: 14.44 kB / 290.8 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.1071, allocations: 148.6 kB / 290.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.643e-05/0.1071, allocations: 62.66 kB / 291 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.1072, allocations: 6.891 kB / 291 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1072, allocations: 53.94 kB / 291 MB, free: 18.96 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1072, allocations: 0 / 291 MB, free: 18.96 MB / 266.7 MB Notification: Performance of Templates: time 0.002235/0.1094, allocations: 0.9222 MB / 292 MB, free: 18.87 MB / 266.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.570929859764874]