Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 187.6 kB / 295 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0392/0.0392, allocations: 8.797 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 83.86 kB / 473.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2867, allocations: 51.56 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002243/0.289, allocations: 1.186 MB / 0.5137 GB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 3.848e-05/0.289, allocations: 3.938 kB / 0.5137 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.2891, allocations: 1.375 kB / 0.5137 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.2891, allocations: 0 / 0.5137 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.2892, allocations: 7.938 kB / 0.5137 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.273e-05/0.2892, allocations: 1.188 kB / 0.5137 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.2893, allocations: 16.67 kB / 0.5137 GB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.2894, allocations: 5.375 kB / 0.5137 GB, free: 11.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.2894, allocations: 6.609 kB / 0.5137 GB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.2894, allocations: 4.969 kB / 0.5138 GB, free: 11.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2895, allocations: 1.562 kB / 0.5138 GB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-06/0.2895, allocations: 0 / 0.5138 GB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.2895, allocations: 0 / 0.5138 GB, free: 11.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.2895, allocations: 2.75 kB / 0.5138 GB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.491e-05/0.2896, allocations: 14.45 kB / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2896, allocations: 1.25 kB / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2896, allocations: 0 / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2896, allocations: 0 / 0.5138 GB, free: 11.46 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004082/0.29, allocations: 327.1 kB / 0.5141 GB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2901, allocations: 8.688 kB / 0.5141 GB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.2901, allocations: 2.312 kB / 0.5141 GB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2902, allocations: 160.4 kB / 0.5142 GB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2902, allocations: 1.688 kB / 0.5142 GB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.2903, allocations: 5.5 kB / 0.5143 GB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2904, allocations: 51.69 kB / 0.5143 GB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2904, allocations: 192 / 0.5143 GB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2904, allocations: 3.938 kB / 0.5143 GB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2904, allocations: 1.344 kB / 0.5143 GB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.2904, allocations: 2.875 kB / 0.5143 GB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.2909, allocations: 193.4 kB / 0.5145 GB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.291, allocations: 37.31 kB / 0.5145 GB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.291, allocations: 16.03 kB / 0.5145 GB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.291, allocations: 5.25 kB / 0.5145 GB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2911, allocations: 31.69 kB / 0.5146 GB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2911, allocations: 0 / 0.5146 GB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.2912, allocations: 51.91 kB / 0.5146 GB, free: 10.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.2913, allocations: 78.58 kB / 0.5147 GB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.2914, allocations: 92.8 kB / 0.5148 GB, free: 10.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2914, allocations: 26.08 kB / 0.5148 GB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2914, allocations: 92.08 kB / 0.5149 GB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2915, allocations: 9.25 kB / 0.5149 GB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.2915, allocations: 12.75 kB / 0.5149 GB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2916, allocations: 310.8 kB / 0.5152 GB, free: 9.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2916, allocations: 14.38 kB / 0.5152 GB, free: 9.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.2917, allocations: 12.31 kB / 0.5152 GB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.2917, allocations: 23.25 kB / 0.5153 GB, free: 9.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2917, allocations: 4 kB / 0.5153 GB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.884e-05/0.2918, allocations: 50.84 kB / 0.5153 GB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2918, allocations: 4.688 kB / 0.5153 GB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2918, allocations: 5.094 kB / 0.5153 GB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2918, allocations: 1.125 kB / 0.5153 GB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.292, allocations: 28.48 kB / 0.5154 GB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.2939, allocations: 2.715 MB / 0.518 GB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.2939, allocations: 5.078 kB / 0.518 GB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.2939, allocations: 1.156 kB / 0.518 GB, free: 6.793 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.294, allocations: 112 kB / 0.5181 GB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.294, allocations: 5 kB / 0.5181 GB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/0.294, allocations: 8.312 kB / 0.5181 GB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.294, allocations: 1.062 kB / 0.5181 GB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.2941, allocations: 4.062 kB / 0.5181 GB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.2941, allocations: 5.109 kB / 0.5181 GB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.2944, allocations: 186.9 kB / 0.5183 GB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2944, allocations: 0 / 0.5183 GB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2946, allocations: 25.77 kB / 0.5183 GB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2946, allocations: 7.938 kB / 0.5184 GB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2946, allocations: 4.906 kB / 0.5184 GB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.2963, allocations: 2.728 MB / 0.521 GB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2963, allocations: 0 / 0.521 GB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.2964, allocations: 63.34 kB / 0.5211 GB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.2965, allocations: 82.77 kB / 0.5212 GB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2965, allocations: 13.05 kB / 0.5212 GB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.2965, allocations: 0.8438 kB / 0.5212 GB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.2965, allocations: 6.5 kB / 0.5212 GB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.2965, allocations: 0 / 0.5212 GB, free: 3.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.2966, allocations: 77.75 kB / 0.5213 GB, free: 3.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2966, allocations: 0 / 0.5213 GB, free: 3.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.2968, allocations: 4.031 kB / 0.5213 GB, free: 3.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.2969, allocations: 96.06 kB / 0.5214 GB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2972, allocations: 40.41 kB / 0.5214 GB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2972, allocations: 0 / 0.5214 GB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2973, allocations: 19.94 kB / 0.5214 GB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.2975, allocations: 16.17 kB / 0.5214 GB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.2978, allocations: 120 kB / 0.5215 GB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2982, allocations: 0.6767 MB / 0.5222 GB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.2982, allocations: 11.44 kB / 0.5222 GB, free: 2.219 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2982, allocations: 0 / 0.5222 GB, free: 2.219 MB / 334.1 MB Notification: Performance of Templates: time 0.002549/0.3007, allocations: 0.7726 MB / 0.523 GB, free: 1.445 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.215423463145271] Failed to read output from testmodel.py, exit status != 0: 0.3072173409163952 0.320643488 0.028444615000000003 Calling exit ...